Loggers.js 649 B

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