Skip to content

Structure

LogRecord

Information about a specific log message, including information from the logger the message was logged to.
struct LogRecord

Topics

Initializers

Instance Properties

  • file
    The file the message was logged from
  • function
    The function the message was logged from
  • label
    The label of the logger the message was logged to
  • level
    The log level of the message
  • line
    The line number in the file the message was logged from
  • loggerLevel
    The log level of the logger the message was logged to
  • loggerMetadata
    The metadata associated with the logger the message was logged to
  • message
    The logged message
  • metadata
    The metadata explicitly associated with the logged message
  • metadataProvider
    The metadata provider associated with the logger the message was logged to
  • source
    The source of the log message, usually the module name

Instance Methods

See Also

Miscellaneous