mil.dod.th.ose.logging/src/mil/dod/th/ose/logging/JavaLoggerBridge.java
private int leveltoLogServiceLevel(final Level level)
    {
        if (level.intValue() > Level.WARNING.intValue())
        {
            return LogService.LOG_ERROR;
        }
        else if (level.intValue() == Level.WARNING.intValue())
        {
            return LogService.LOG_WARNING;
        }
        else if (level.intValue() < Level.WARNING.intValue() && level.intValue() >= Level.INFO.intValue())
        {
            return LogService.LOG_INFO;
        }
        else
        {
            return LogService.LOG_DEBUG;
        }
    }
/**
     * Convert a Java util logger (JUL) {@link Level} to a level usable by the {@link LogService}.
     * 
     * @param level
     *      level to convert from
     * @return
     *      converted {@link LogService} level
     */
Convert a Java util logger (JUL)  Level to a level usable by the  LogService.

@param level
level to convert from
@return
converted  LogService level
Convert a Java util logger ( JUL ) Level to a level usable by the LogService . @param level level to convert from @return converted LogService level
private int leveltoLogServiceLevel(final Level level)
    {
        if (level.intValue() > Level.WARNING.intValue())
        {
            return LogService.LOG_ERROR;
        }
        else if (level.intValue() == Level.WARNING.intValue())
        {
            return LogService.LOG_WARNING;
        }
        else if (level.intValue() < Level.WARNING.intValue() && level.intValue() >= Level.INFO.intValue())
        {
            return LogService.LOG_INFO;
        }
        else
        {
            return LogService.LOG_DEBUG;
        }
    }
private int leveltoLogServiceLevel ( final Level level ) { if ( level . intValue ( ) > Level . WARNING . intValue ( ) ) { return LogService . LOG_ERROR ; } else if ( level . intValue ( ) == Level . WARNING . intValue ( ) ) { return LogService . LOG_WARNING ; } else if ( level . intValue ( ) < Level . WARNING . intValue ( ) && level . intValue ( ) >= Level . INFO . intValue ( ) ) { return LogService . LOG_INFO ; } else { return LogService . LOG_DEBUG ; } }
Convert a Java util logger (JUL) {@link Level} to a level usable by the {@link LogService}.
Convert a Java util logger ( JUL ) { @link Level } to a level usable by the { @link LogService } .