12345678910111213141516171819202122232425 |
- // Licensed to the .NET Foundation under one or more agreements.
- // The .NET Foundation licenses this file to you under the MIT license.
- // These values are designed to match the ASP.NET Log Levels since that's the pattern we're emulating here.
- /** Indicates the severity of a log message.
- *
- * Log Levels are ordered in increasing severity. So `Debug` is more severe than `Trace`, etc.
- */
- export var LogLevel;
- (function (LogLevel) {
- /** Log level for very low severity diagnostic messages. */
- LogLevel[LogLevel["Trace"] = 0] = "Trace";
- /** Log level for low severity diagnostic messages. */
- LogLevel[LogLevel["Debug"] = 1] = "Debug";
- /** Log level for informational diagnostic messages. */
- LogLevel[LogLevel["Information"] = 2] = "Information";
- /** Log level for diagnostic messages that indicate a non-fatal problem. */
- LogLevel[LogLevel["Warning"] = 3] = "Warning";
- /** Log level for diagnostic messages that indicate a failure in the current operation. */
- LogLevel[LogLevel["Error"] = 4] = "Error";
- /** Log level for diagnostic messages that indicate a failure that will terminate the entire application. */
- LogLevel[LogLevel["Critical"] = 5] = "Critical";
- /** The highest possible log level. Used when configuring logging to indicate that no log messages should be emitted. */
- LogLevel[LogLevel["None"] = 6] = "None";
- })(LogLevel || (LogLevel = {}));
- //# sourceMappingURL=ILogger.js.map
|