private static org . tinylog . Level translateLevel ( final Level level ) { switch ( level ) { case TRACE : return org . tinylog . Level . TRACE ; case DEBUG : return org . tinylog . Level . DEBUG ; case INFO : return org . tinylog . Level . INFO ; case WARN : return org . tinylog . Level . WARN ; case ERROR : case FATAL : return org . tinylog . Level . ERROR ; default : throw new IllegalArgumentException ( "Unknown JBoss Logging severity level \"" + level + "\"" ) ; } }
Translate JBoss Logging severity levels .