Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ILogRecord

Represents a log record.

Hierarchy

  • ILogRecord

Index

Properties

Readonly args

args: unknown[]

Arguments that were passed to the logger.

Readonly context

context: string

Context used for this record.

Readonly date

date: Date

Timestamp at which the log record was created.

Readonly level

level: LogLevel

Level used to create this record.

Readonly levelName

levelName: "VERBOSE" | "DEBUG" | "INFO" | "WARNING" | "ERROR" | "CRITICAL"

String representation of the level.

Readonly message

message: string

Arguments formatted as a string.

Readonly metadata

metadata: Record<string, unknown>

Extra meta data configured with a logger.

Generated using TypeDoc