MCPcopy Create free account
hub / github.com/Streamerbot/client / constructor

Method constructor

packages/client/src/utils/logger.ts:21–24  ·  view source on GitHub ↗
(options: Partial<LoggerOptions> = {})

Source from the content-addressed store, hash-verified

19 };
20
21 constructor(options: Partial<LoggerOptions> = {}) {
22 this.level = options.level || 'info';
23 this.customLogger = options.customLogger;
24 }
25
26 public setLevel(level: LogLevel): void {
27 this.level = level;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected