trigger.core.filelog
Logging Module for Trigger
Classes
Filelog class for logging to file |
Module Contents
- class Filelog(logname=None, filename=None, filedir=None, date=True, time=True, size_cap=500000, *args, **kwargs)
Bases:
objectFilelog class for logging to file
- clear()
Clear/Reset the log.
- debug(msg)
Print debug message.
- error(msg, proceed=True)
Print error message.
- get_size()
Return the size of the log file.
- header(msg)
Add a header to the log.
- info(msg)
Print info message.
- seperator()
Add a separator.
- title(msg)
Add a title to the log.
- warning(msg)
Print warning message.