public static final void setJavolutionLogLevel ( org . slf4j . Logger log ) { // disable Javolution info-level logging if ( log . isTraceEnabled ( ) ) { javolution . context . LogContext . enter ( ) . setLevel ( LogContext . Level . DEBUG ) ; } else if ( log . isDebugEnabled ( ) ) { javolution . context . LogContext . enter ( ) . setLevel ( LogContext . Level . DEBUG ) ; } else if ( log . isInfoEnabled ( ) ) { javolution . context . LogContext . enter ( ) . setLevel ( LogContext . Level . INFO ) ; } else if ( log . isWarnEnabled ( ) ) { javolution . context . LogContext . enter ( ) . setLevel ( LogContext . Level . WARNING ) ; } else if ( log . isErrorEnabled ( ) ) { javolution . context . LogContext . enter ( ) . setLevel ( LogContext . Level . ERROR ) ; } else { javolution . context . LogContext . enter ( ) . setLevel ( LogContext . Level . FATAL ) ; } }
Set Javolution log level according to the provided logger .