UNPKG

@microsoft/signalr

Version:
13 lines 510 B
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. /** A logger that does nothing when log messages are sent to it. */ export class NullLogger { constructor() { } /** @inheritDoc */ // eslint-disable-next-line log(_logLevel, _message) { } } /** The singleton instance of the {@link @microsoft/signalr.NullLogger}. */ NullLogger.instance = new NullLogger(); //# sourceMappingURL=Loggers.js.map