|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.build.logger.LogInterceptorStack
public class LogInterceptorStack
This class handles attaching/detaching of interceptors and the actual interception forwarding.
Constructor Summary | |
---|---|
LogInterceptorStack()
|
Method Summary | |
---|---|
void |
add(LogInterceptor interceptor)
Adds a new interceptor to stack |
void |
clear()
Removes all interceptors from stack |
void |
intercept(LogEntry logEntry)
Method invoked whenever a new log entry is logged |
void |
interceptError(LogEntry logEntry)
Method invoked whenever a new error log entry is logged |
void |
remove(LogInterceptor interceptor)
Removes an interceptor from stack |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogInterceptorStack()
Method Detail |
---|
public void clear()
public void add(@NotNull LogInterceptor interceptor)
interceptor
- the interceptor to addpublic void remove(@Nullable LogInterceptor interceptor)
interceptor
- the interceptor to removepublic void intercept(@NotNull LogEntry logEntry)
LogInterceptor
intercept
in interface LogInterceptor
public void interceptError(@NotNull LogEntry logEntry)
LogInterceptor
interceptError
in interface LogInterceptor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |