UNPKG

602 BTypeScriptView Raw
1/** @module log */
2/**
3 * Standard log levels.
4 *
5 * Logs at debug and trace levels are usually captured
6 * only locally for troubleshooting
7 * and never sent to consolidated log services.
8 */
9export declare enum LogLevel {
10 /** Nothing to log */
11 None = 0,
12 /** Log only fatal errors that cause processes to crash */
13 Fatal = 1,
14 /** Log all errors. */
15 Error = 2,
16 /** Log errors and warnings */
17 Warn = 3,
18 /** Log errors and important information messages */
19 Info = 4,
20 /** Log everything except traces */
21 Debug = 5,
22 /** Log everything. */
23 Trace = 6
24}