Skip to content

ntcore-ts / @ntcore-ts/client / LogEntry

Interface: LogEntry ​

Defined in: util/logger.ts:27

A log line passed to a handler set with setLogHandler.

Properties ​

args ​

args: unknown[]

Defined in: util/logger.ts:35

Extra arguments passed with the message, usually a context object.


level ​

level: LogLevel

Defined in: util/logger.ts:29

The level the line was logged at.


message ​

message: string

Defined in: util/logger.ts:33

The log message, without the module prefix.


module ​

module: LoggerModule

Defined in: util/logger.ts:31

The module that logged the line.


time ​

time: Date

Defined in: util/logger.ts:37

When the line was logged.

Released under the MIT License.