tik_manager4.core.filelog
Logging module for Tik Manager 4.
Classes
Logging class handling file logging. |
Module Contents
- class Filelog(logname=None, filename='tik_manager4', filedir=None, date=True, time=True, size_cap=500000)
Logging class handling file logging.
- clear()
Clear the log file.
- error(msg, *args, proceed=True)
Log an error message.
- Args:
msg (str): The message to log. proceed (bool): Whether to raise an exception after logging the error.
- exception(msg, *args)
Log an exception message.
- Args:
msg (str): The message to log.
- classmethod get_last_message()
Return the last message and its type.
- get_size()
Return the size of the log file.
- header(msg)
Create a header in the log file.
- Args:
msg (str): The header to create.
- info(msg, *args)
Log an info message.
- Args:
msg (str): The message to log.
- seperator()
Create a seperator in the log file.
- title(msg)
Create a title in the log file.
- Args:
msg (str): The title to create.
- warning(msg, *args)
Log a warning message.
- Args:
msg (str): The message to log.
- last_message = None
- last_message_type = None