Package | Description |
---|---|
org.ovirt.engine.core.utils.log |
Modifier and Type | Method and Description |
---|---|
static Logged.LogLevel |
Logged.LogLevel.getMinimalLevel(Logged.LogLevel firstLevel,
Logged.LogLevel secondLevel)
Get the lesser log level from the given two levels.
|
static Logged.LogLevel |
Logged.LogLevel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Logged.LogLevel[] |
Logged.LogLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Logged.LogLevel |
Logged.LogLevel.getMinimalLevel(Logged.LogLevel firstLevel,
Logged.LogLevel secondLevel)
Get the lesser log level from the given two levels.
|
protected static boolean |
LoggedUtils.isLogLevelOn(org.apache.commons.logging.Log log,
Logged.LogLevel logLevel)
Determine if the given log level is active for the given log.
|
protected static void |
LoggedUtils.log(LogCompat log,
Logged.LogLevel logLevel,
String message,
Object... parameters)
Log a message to the log, taking into account the log level (checking if it's active, and using it in the log).
|
Copyright © 2012. All Rights Reserved.