|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.javasimon.callback.logging.LogTemplate<C>
org.javasimon.callback.logging.DelegateLogTemplate<C>
public abstract class DelegateLogTemplate<C>
Base class for log template which delegates part of the work to a concrete log template.
| Field Summary | |
|---|---|
private LogTemplate |
delegate
Delegate log template |
| Constructor Summary | |
|---|---|
DelegateLogTemplate(LogTemplate delegate)
Constructor |
|
| Method Summary | |
|---|---|
LogTemplate |
getDelegate()
Get delegate log template |
boolean |
isEnabled(C context)
Tell whether logging is enabled. |
void |
log(String message)
Log a message. |
| Methods inherited from class org.javasimon.callback.logging.LogTemplate |
|---|
log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final LogTemplate delegate
| Constructor Detail |
|---|
public DelegateLogTemplate(LogTemplate delegate)
delegate - Delegate log template| Method Detail |
|---|
public LogTemplate getDelegate()
public boolean isEnabled(C context)
isEnabled in class LogTemplate<C>public void log(String message)
log in class LogTemplate<C>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||