MCPcopy Create free account
hub / github.com/CoderLine/alphaTab / _shouldLog

Method _shouldLog

packages/alphatab/src/Logger.ts:47–49  ·  view source on GitHub ↗
(level: LogLevel)

Source from the content-addressed store, hash-verified

45 public static log: ILogger = new ConsoleLogger();
46
47 private static _shouldLog(level: LogLevel): boolean {
48 return Logger.logLevel !== LogLevel.None && level >= Logger.logLevel;
49 }
50
51 public static debug(category: string, msg: string, ...details: unknown[]): void {
52 if (Logger._shouldLog(LogLevel.Debug)) {

Callers 4

debugMethod · 0.80
warningMethod · 0.80
infoMethod · 0.80
errorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected