Level (int level) { switch (level) { case MavenServerConsoleIndicator.LEVEL_DEBUG: return Level.ALL; case MavenServerConsoleIndicator.LEVEL_ERROR: return Level.SEVERE; case MavenServerConsoleIndicator.LEVEL_FATAL: return Level.SEVERE; case MavenServerConsoleIndicator.LEVEL_DISABLED: return Level.OFF; case MavenServerConsoleIndicator.LEVEL_INFO: return Level.INFO; case MavenServerConsoleIndicator.LEVEL_WARN: return Level.WARNING; } return Level.INFO; }