UNPKG

@freemework/common

Version:

Common library of the Freemework Project.

18 lines 604 B
import { FLoggerBase } from "./f_logger.js"; export class FLoggerDummy extends FLoggerBase { static _instance = null; /** * Factory constructor */ static create(loggerName) { // Lazy singleton if (FLoggerDummy._instance === null) { FLoggerDummy._instance = new FLoggerDummy(loggerName !== undefined ? loggerName : "Dummy"); } return FLoggerDummy._instance; } isLevelEnabled(_) { return false; } writeToOutput(_, __, ___, ____) { } constructor(loggerName) { super(loggerName); } } //# sourceMappingURL=f_logger_dummy.js.map