moved save_object and load_object to the Controller class
Logger Awesomeness
- The logger is now imported as a module as part of base (OpenPNM.Base.logging)
- To use it, each file must import OpenPNM.Base.logging as logging, then get an instance of the logger with logging.getLogger
- All Generic Classes now uses this approach
- Also set up the logger to inherit the names of the object that created it, including the inheritance tree, like Base -> Core -> net, so we know exactly where each message comes from
Reimplemented the logger in all objects
- Imported the logger at the top of every file that needs it
- uncommented everything and changed self._logger to just logger
Even more awesomeness!
- Formatted the logger to output the perfect message, including the calling class and function.