pip-services3-components-node
Version:
Component definitions for Pip.Services in Node.js
25 lines (24 loc) • 602 B
TypeScript
/** @module log */
/**
* Standard log levels.
*
* Logs at debug and trace levels are usually captured
* only locally for troubleshooting
* and never sent to consolidated log services.
*/
export declare enum LogLevel {
/** Nothing to log */
None = 0,
/** Log only fatal errors that cause processes to crash */
Fatal = 1,
/** Log all errors. */
Error = 2,
/** Log errors and warnings */
Warn = 3,
/** Log errors and important information messages */
Info = 4,
/** Log everything except traces */
Debug = 5,
/** Log everything. */
Trace = 6
}