private org . apache . log4j . Level toLog4j ( Level level ) { if ( Level . SEVERE == level ) { return org . apache . log4j . Level . ERROR ; } else if ( Level . WARNING == level ) { return org . apache . log4j . Level . WARN ; } else if ( Level . INFO == level ) { return org . apache . log4j . Level . INFO ; } else if ( Level . FINE == level ) { return org . apache . log4j . Level . DEBUG ; } else if ( Level . FINER == level ) { return org . apache . log4j . Level . TRACE ; } else if ( Level . OFF == level ) { return org . apache . log4j . Level . OFF ; } return org . apache . log4j . Level . OFF ; }
Converts java . util . logging levels to Log4J logging levels .