public abstract class Log extends Object
ServiceLoader| Modifier and Type | Class and Description |
|---|---|
static class |
Log.SuppressionCounter
Log implementation that can be used to count suppressed log outputs.
|
| Constructor and Description |
|---|
Log() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
debug(String s) |
abstract void |
debug(String s,
Throwable ex) |
static Log |
getLog(Class<?> _class) |
static Log |
getLog(String s) |
abstract void |
info(String s) |
abstract void |
info(String s,
Throwable ex) |
abstract boolean |
isDebugEnabled() |
abstract boolean |
isInfoEnabled() |
static void |
registerSuppression(String s,
Log l)
Redirects log output, this is used for testing purposes.
|
static void |
unregisterSuppression(String s) |
abstract void |
warn(String s) |
abstract void |
warn(String s,
Throwable ex) |
public Log()
public static void registerSuppression(String s, Log l)
public static void unregisterSuppression(String s)
public abstract boolean isDebugEnabled()
public abstract boolean isInfoEnabled()
cache2k API documentation. Copyright © 2000–2015 headissue GmbH, Munich.