Skip to content

Interface: LoggerOptions ​

Defined in: src/display/logging/Logger.ts:86

Properties ​

level? ​

ts
optional level?: LogLevel;

Defined in: src/display/logging/Logger.ts:88

Minimum log level to output


console? ​

ts
optional console?: boolean;

Defined in: src/display/logging/Logger.ts:90

Whether to output to console


store? ​

ts
optional store?: boolean;

Defined in: src/display/logging/Logger.ts:92

Whether to store log entries


maxEntries? ​

ts
optional maxEntries?: number;

Defined in: src/display/logging/Logger.ts:94

Maximum number of stored entries


handler? ​

ts
optional handler?: (entry) => void;

Defined in: src/display/logging/Logger.ts:96

Custom log handler

Parameters ​

entry ​

LogEntry

Returns ​

void


includeCategories? ​

ts
optional includeCategories?: string[];

Defined in: src/display/logging/Logger.ts:98

Categories to include (if specified, only these are logged)


excludeCategories? ​

ts
optional excludeCategories?: string[];

Defined in: src/display/logging/Logger.ts:100

Categories to exclude

Released under the MIT License.