@microsoft/signalr
Version:
ASP.NET Core SignalR Client
17 lines • 646 B
JavaScript
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
Object.defineProperty(exports, "__esModule", { value: true });
exports.NullLogger = void 0;
/** A logger that does nothing when log messages are sent to it. */
class NullLogger {
constructor() { }
/** @inheritDoc */
// eslint-disable-next-line
log(_logLevel, _message) {
}
}
exports.NullLogger = NullLogger;
/** The singleton instance of the {@link @microsoft/signalr.NullLogger}. */
NullLogger.instance = new NullLogger();
//# sourceMappingURL=Loggers.js.map
;