@jacraig/woodchuck
    Preparing search index...

    Class Logger

    Logger class that is used to write log events

    Index

    Methods

    • Writes a log event to the logger with the Debug level message: The message of the log event properties: The properties of the log event

      Parameters

      • message: string
      • Optionalproperties: { [key: string]: any }

      Returns void

    • Writes a log event to the logger with the Error level message: The message of the log event properties: The properties of the log event exception: The exception of the log event

      Parameters

      • message: string
      • Optionalproperties: { [key: string]: any }
      • Optionalexception: Error

      Returns void

    • Writes a log event to the logger with the Fatal level message: The message of the log event properties: The properties of the log event exception: The exception of the log event

      Parameters

      • message: string
      • Optionalproperties: { [key: string]: any }
      • Optionalexception: Error

      Returns void

    • Writes a log event to the logger with the Information level message: The message of the log event properties: The properties of the log event

      Parameters

      • message: string
      • Optionalproperties: { [key: string]: any }

      Returns void

    • Writes a log event to the logger with the Verbose level message: The message of the log event properties: The properties of the log event

      Parameters

      • message: string
      • Optionalproperties: { [key: string]: any }

      Returns void

    • Writes a log event to the logger with the Warning level message: The message of the log event properties: The properties of the log event

      Parameters

      • message: string
      • Optionalproperties: { [key: string]: any }

      Returns void

    • Writes a log event to the logger level: The level of the log event message: The message of the log event properties: The properties of the log event exception: The exception of the log event

      Parameters

      • level: LogLevel
      • message: string
      • Optionalproperties: { [key: string]: any }
      • Optionalexception: Error

      Returns void