tik_manager4.core.filelog ========================= .. py:module:: tik_manager4.core.filelog .. autoapi-nested-parse:: Logging module for Tik Manager 4. Classes ------- .. autoapisummary:: tik_manager4.core.filelog.Filelog Module Contents --------------- .. py:class:: Filelog(logname=None, filename='tik_manager4', filedir=None, date=True, time=True, size_cap=500000) Logging class handling file logging. .. py:method:: clear() Clear the log file. .. py:method:: 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. .. py:method:: exception(msg, *args) Log an exception message. Args: msg (str): The message to log. .. py:method:: get_last_message() :classmethod: Return the last message and its type. .. py:method:: get_size() Return the size of the log file. .. py:method:: header(msg) Create a header in the log file. Args: msg (str): The header to create. .. py:method:: info(msg, *args) Log an info message. Args: msg (str): The message to log. .. py:method:: seperator() Create a seperator in the log file. .. py:method:: title(msg) Create a title in the log file. Args: msg (str): The title to create. .. py:method:: warning(msg, *args) Log a warning message. Args: msg (str): The message to log. .. py:attribute:: last_message :value: None .. py:attribute:: last_message_type :value: None