Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Global variables

logger

global logger instance that can be imported in other modules.


Examples

>>> # This example demonstrates how to import the global logger in other Python modules. 

...

>>> logger.critical('sample critical message from test.py')


Classes

class ExtensionLogger ExtensionLogger (name)

Class for providing logging functionality for Universal Extensions. Do not instantiate this class directly. UniversalExtension instantiates this class via a call to the logging.getLogger API call. See the example above for instructions on obtaining the logger instance.

The following log levels are officially supported:

...