A specification of log level names and their associated priority. A lower number is given higher priority. Example:
const levels: Levels = {
error: 0,
warn: 1,
info: 2,
debug: 3
};
info has a higher priority than debug, but not as high as warn. A Transport with a level of info will
execute log entries on info, warn, and error levels, but not on debug.
A specification of log level names and their associated priority. A lower number is given higher priority. Example:
const levels: Levels = { error: 0, warn: 1, info: 2, debug: 3 };infohas a higher priority thandebug, but not as high aswarn. ATransportwith a level ofinfowill execute log entries oninfo,warn, anderrorlevels, but not ondebug.