Loggers.js 736 B

123456789101112131415161718
  1. "use strict";
  2. // Copyright (c) .NET Foundation. All rights reserved.
  3. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
  4. Object.defineProperty(exports, "__esModule", { value: true });
  5. /** A logger that does nothing when log messages are sent to it. */
  6. var NullLogger = /** @class */ (function () {
  7. function NullLogger() {
  8. }
  9. /** @inheritDoc */
  10. // tslint:disable-next-line
  11. NullLogger.prototype.log = function (_logLevel, _message) {
  12. };
  13. /** The singleton instance of the {@link @aspnet/signalr.NullLogger}. */
  14. NullLogger.instance = new NullLogger();
  15. return NullLogger;
  16. }());
  17. exports.NullLogger = NullLogger;
  18. //# sourceMappingURL=Loggers.js.map