private static Level translateLevel ( final int level ) { if ( level <= TRACE_INT ) { return Level . TRACE ; } else if ( level <= DEBUG_INT ) { return Level . DEBUG ; } else if ( level <= INFO_INT ) { return Level . INFO ; } else if ( level <= WARN_INT ) { return Level . WARN ; } else { return Level . ERROR ; } }
Translate SLF4J severity level codes .