public class Logging extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
Logging.LoggerIf
An interface for
Logger . |
Constructor and Description |
---|
Logging() |
Modifier and Type | Method and Description |
---|---|
static void |
alignLevel(Logging.LoggerIf l)
Align log-level of given logger to the root logger's level.
|
static String |
getCanonicalName(Level level) |
static Logging.LoggerIf |
getLogger()
Returns the root package logger.
|
static Logging.LoggerIf |
getLogger(String packageName,
String simpleClassName)
Returns the demanded logger, while aligning its log-level to the root logger's level.
|
public static Logging.LoggerIf getLogger()
public static Logging.LoggerIf getLogger(String packageName, String simpleClassName)
public static void alignLevel(Logging.LoggerIf l)