Modifier and Type | Method and Description |
---|---|
static Log |
getInstance()
Retrieves teh DefaultLog instance.
|
Log.Level |
getLevel() |
void |
log(Log.Level level,
String msg)
Writes a message at a specific log level.
|
static void |
setInstance(Log instance)
Sets the default log instance.
|
void |
setLevel(Log.Level level) |
public static Log getInstance()
public static void setInstance(Log instance)
instance
- a Log to use as the defult.public void setLevel(Log.Level level)
public Log.Level getLevel()
Copyright © 2006–2024 Apache Software Foundation. All rights reserved.