adi_py.logger
¶
This module contains the ADILogger class which provides a python-like logging API facade around the dsproc logging methods.
Classes¶
This class provides python-like logging API facade around the dsproc |
|
Generic enumeration. |
- class adi_py.logger.ADILogger¶
This class provides python-like logging API facade around the dsproc logging methods.
Class Methods
Use this method to log the stack trace of any raised exception to the process’s
Method Descriptions
- static debug(message, debug_level=1)¶
- static error(message)¶
- static exception(message)¶
Use this method to log the stack trace of any raised exception to the process’s ADI log file.
- Parameters
message (-) – str An optional additional message to log, in addition to the stack trace.
- static info(message)¶
- static warning(message)¶