Skip to content

quantpylib.logger.utils

Log Record Attributes

  • args: The tuple of arguments passed to the logging call.
  • asctime: The string representation of the time when the LogRecord was created.
  • created: The time when the LogRecord was created, in seconds since the epoch.
  • exc_info: Exception tuple (type, value, traceback) if an exception occurred during logging.
  • exc_text: Textual representation of the exception information.
  • filename: The name of the file in which the logging call was made.
  • funcName: The name of the function or method from which the logging call was made.
  • levelname: The textual representation of the log level (e.g., 'DEBUG', 'INFO').
  • levelno: The numeric representation of the log level.
  • lineno: The line number in the source code where the logging call was made.
  • module: The name of the module in which the logging call was made.
  • msecs: The millisecond portion of the time when the LogRecord was created.
  • message: The logged message after merging any user-supplied arguments with the message.
  • msg: The logged message, before merging with user-supplied arguments.
  • name: The name of the logger that created the LogRecord.
  • pathname: The full path of the source file where the logging call was made.
  • process: The process ID of the process that created the LogRecord.
  • processName: The name of the process that created the LogRecord.
  • relativeCreated: The time since the logging module was loaded, in milliseconds.
  • stack_info: A string representation of the current stack frame.
  • thread: The thread ID of the thread that created the LogRecord.
  • threadName: The name of the thread that created the LogRecord.
  • taskName: The name of the task that created the LogRecord, relevant in asynchronous environments.