index.js 1.3 KB

12345678910111213141516171819202122232425262728293031
  1. "use strict";
  2. var __importStar = (this && this.__importStar) || function (mod) {
  3. if (mod && mod.__esModule) return mod;
  4. var result = {};
  5. if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
  6. result["default"] = mod;
  7. return result;
  8. };
  9. Object.defineProperty(exports, "__esModule", { value: true });
  10. var logger_1 = require("./logger");
  11. exports.createLogger = logger_1.createLogger;
  12. exports.lastSequenceNumber = logger_1.lastSequenceNumber;
  13. exports.resetSequence = logger_1.resetSequence;
  14. var context_1 = require("./logger/context");
  15. exports.LogContexts = context_1.LogContexts;
  16. var level_1 = require("./logger/level");
  17. exports.LogLevels = level_1.LogLevels;
  18. exports.logLevelNameFor = level_1.logLevelNameFor;
  19. exports.parseLogLevel = level_1.parseLogLevel;
  20. var message_1 = require("./logger/message");
  21. exports.registerLogFormatter = message_1.registerLogFormatter;
  22. exports.resetLogFormatters = message_1.resetLogFormatters;
  23. var root_1 = require("./logger/root");
  24. exports.default = root_1.rootLogger;
  25. exports.logger = root_1.rootLogger;
  26. exports.setup = root_1.setup;
  27. var target_1 = require("./logger/target");
  28. exports.DEFAULT_LOG_TARGET = target_1.DEFAULT_LOG_TARGET;
  29. exports.parseLogTargets = target_1.parseLogTargets;
  30. var testing = __importStar(require("./testing"));
  31. exports.testing = testing;