RLRP routing
v.0.1.0
|
Class for overriding default logging methods. More...
Public Member Functions | |
def | __init__ (self, logger_object) |
Constructor. More... | |
def | info (self, msg, args, kwargs) |
Info log method. More... | |
def | debug (self, msg, args, kwargs) |
Debug log method. More... | |
def | error (self, msg, args, kwargs) |
Error log method. More... | |
def | warning (self, msg, args, kwargs) |
Warning log method. More... | |
def | critical (self, msg, args, kwargs) |
Critical log method. More... | |
Public Attributes | |
logger_object | |
Reference to the Python logger object. More... | |
Class for overriding default logging methods.
Handles the log methods (info, debug, error, etc.) called from the modules, and forwards them into the global queue so the LoggingHandler thread will perform the actual writing operation.
def routing_logging.LogWrapper.__init__ | ( | self, | |
logger_object | |||
) |
Constructor.
self | The object pointer. |
logger_object | Reference to the Python logger object. |
def routing_logging.LogWrapper.critical | ( | self, | |
msg, | |||
args, | |||
kwargs | |||
) |
Critical log method.
self | The object pointer. |
msg | Message to be logged. |
*args | Arguments to the message, if any. |
**kwargs | Key arguments to the message, if any. |
def routing_logging.LogWrapper.debug | ( | self, | |
msg, | |||
args, | |||
kwargs | |||
) |
Debug log method.
self | The object pointer. |
msg | Message to be logged. |
*args | Arguments to the message, if any. |
**kwargs | Key arguments to the message, if any. |
def routing_logging.LogWrapper.error | ( | self, | |
msg, | |||
args, | |||
kwargs | |||
) |
Error log method.
self | The object pointer. |
msg | Message to be logged. |
*args | Arguments to the message, if any. |
**kwargs | Key arguments to the message, if any. |
def routing_logging.LogWrapper.info | ( | self, | |
msg, | |||
args, | |||
kwargs | |||
) |
Info log method.
self | The object pointer. |
msg | Message to be logged. |
*args | Arguments to the message, if any. |
**kwargs | Key arguments to the message, if any. |
def routing_logging.LogWrapper.warning | ( | self, | |
msg, | |||
args, | |||
kwargs | |||
) |
Warning log method.
self | The object pointer. |
msg | Message to be logged. |
*args | Arguments to the message, if any. |
**kwargs | Key arguments to the message, if any. |
routing_logging.LogWrapper.logger_object |
Reference to the Python logger object.