/**
* Log level. Corresponds to log4j log levels.
* @see {@link http://en.wikipedia.org/wiki/Log4j | log4j}
* @module lib.log.levels
* @author Taka Okunishi
*/
exports = module.exports;
/**
* The highest possible rank and is intended to turn off logging.
* @type {string}
*/
exports.OFF = 0;
/**
* Severe errors that cause premature termination. Expect these to be immediately visible on a status console.
* @type {number}
*/
exports.FATAL = 1;
/**
* Other runtime errors or unexpected conditions. Expect these to be immediately visible on a status console.
* @type {number}
*/
exports.ERROR = 2;
/**
* Use of deprecated APIs, poor use of API, 'almost' errors, other runtime situations that are undesirable or unexpected,
* but not necessarily "wrong". Expect these to be immediately visible on a status console.
* @type {number}
*/
exports.WARN = 3;
/**
* Interesting runtime events (startup/shutdown). Expect these to be immediately visible on a console, so be conservative and keep to a minimum.
*/
exports.INFO = 4;
/**
* Detailed information on the flow through the system. Expect these to be written to logs only.
* @type {number}
*/
exports.DEBUG = 5;
/**
* Most detailed information. Expect these to be written to logs only.
* @type {number}
*/
exports.TRACE = 6;