This allows py-scripts and py-json modules to access this logic independent of the lanforge_api.py module.
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
- Logg class message parameter are renamed to msg to be consistent with python logging package
- fixes possible duplicate log statements because there were no return statements in the logg method
- adds class method for registering method names to turn on debug logging from
- adds class method for registering tags or keywords to turn on logging from
- adds Logg.by_tag() and Log.by_method()
- adds more specific logging to json_post()
- some import formatting requested by Matthew
Signed-off-by: Jed Reynolds <jed@bitratchet.com>