Skip to main content

Class: LogEntry

Call defining a log entry.

Constructors

Constructor

new LogEntry(): LogEntry

Returns

LogEntry

Properties

id

id: string

The id.


level

level: LogLevel

The level of the error being logged.


source

source: string

The source of the log entry.


ts

ts: number

The timestamp of the log entry.


message

message: string

The message.


error?

optional error: LogEntryError[]

Associated error data.


data?

optional data: object

Data for the message.

Index Signature

[key: string]: unknown