
public class LevelHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static List<Level> |
levels |
static Map<String,Level> |
levelsByName |
static Map<Integer,Level> |
levelsByValue |
| Constructor and Description |
|---|
LevelHelper() |
| Modifier and Type | Method and Description |
|---|---|
static Comparator<Level> |
comparator()
Compare on
Level.intValue() |
static Level |
findLevel(String name)
Simplification: use delegate to
Level.parse(String) even if the behavior is slightly different for localized log levels. |
static Severity |
toSeverity(Level level) |
public static Level findLevel(String name)
Level.parse(String) even if the behavior is slightly different for localized log levels.name - null or empty returns nullpublic static Comparator<Level> comparator()
Level.intValue()Copyright © 2009–2025 OrientDB. All rights reserved.