Skip to main content

LogItem

Index

Properties

host

host: string

The name of the host machine.

label

label: string

The log level as a localized or customized label.

level

level: LogLevel

The log level as a string.

message

message: string

The log message with interpolated arguments applied.

metadata

metadata: LogMetadata

Additional data to include with a log item.

name

name: string

Name of the logger.

pid

pid: number

Current process ID.

time

time: Date

Timestamp of the log, native to the host machine.