(function(root, factory) {
/* istanbul ignore next */
if (typeof define === 'function' && define.amd) {
define(factory);
} else if (typeof module === 'object' && module.exports) {
module.exports = factory();
} else {
root.jsccLOG_LEVEL = factory();
}
}(this, function() {
//>>excludeStart("closure", pragmas.closure);
var jscc = {
enums: {}
};
/**
* Specifies the minimum logging level.
* @enum {number}
* @memberof jscc.enums
*/
jscc.enums.LOG_LEVEL = {
/**
* Log all messages.
*/
TRACE: 0,
/**
* Log debug messages and higher.
*/
DEBUG: 1,
/**
* Log info messages and higher.
*/
INFO: 2,
/**
* Log warning messages and higher.
*/
WARN: 3,
/**
* Log error and fatal messages.
*/
ERROR: 4,
/**
* Log only fatal messages.
*/
FATAL: 5
};
// Export from Closure, as this enumeration may be used in the
// mainOptions typedef.
jscc.enums.LOG_LEVEL['TRACE'] = jscc.enums.LOG_LEVEL.TRACE;
jscc.enums.LOG_LEVEL['DEBUG'] = jscc.enums.LOG_LEVEL.DEBUG;
jscc.enums.LOG_LEVEL['INFO'] = jscc.enums.LOG_LEVEL.INFO;
jscc.enums.LOG_LEVEL['WARN'] = jscc.enums.LOG_LEVEL.WARN;
jscc.enums.LOG_LEVEL['ERROR'] = jscc.enums.LOG_LEVEL.ERROR;
jscc.enums.LOG_LEVEL['FATAL'] = jscc.enums.LOG_LEVEL.FATAL;
jscc.enums['LOG_LEVEL'] = jscc.enums.LOG_LEVEL;
//>>excludeEnd("closure");
/**
* Module containing LOG_LEVEL enumeration.
* @module jscc/enums/LOG_LEVEL
*/
return jscc.enums.LOG_LEVEL;
}));