logLevelToInt method
Implementation
logLevelToInt(LogLevel level) {
switch (level) {
case LogLevel.trace:
return 3;
case LogLevel.debug:
return 0;
case LogLevel.info:
return 4;
case LogLevel.warning:
return 1;
case LogLevel.error:
return 2;
case LogLevel.fatal:
return 5;
}
}