Skip to content

LoggerOptions beta ​

Interface of @v12-engine/engine

ts
export interface LoggerOptions

The options a Logger is made with

Members ​

context ​

ts
context?: LogContext;

What the logger adds to each entry it passes on: the game, the tick and the fields

level ​

ts
level?: LogLevel;

The least an entry must matter to be said here: everything when left out

parent ​

ts
parent?: Logger;

The logger this one passes its entries up to. None for one that stands alone