logtools-vrb

Logging tools


License
GPL-3.0
Install
pip install logtools-vrb==0.8.0

Documentation

logtools_vrb

Logging tools.

__init__.py

program_name, program_pid

Name and process ID of currently running program

logtools.py

class CallerRecord:

Information regarding current position in program

class ExcInfo

Enhanced handling of exception information in logging etc.

class LogUtils

Misc Utils concerning logging and exceptions

formatting.py

class LevelAwareFormatter

Formatter for use with the logging module supporting different format strings depending on the log level.

mailloghandler.py

class MailLogHandler

Log handler which mails log messages to a given recipient.