public class OnConsoleStatusListener extends ContextAwareBase
context
Constructor and Description |
---|
OnConsoleStatusListener() |
Modifier and Type | Method and Description |
---|---|
static void |
addNewInstanceToContext(Context loggerContext)
This utility method adds a new OnConsoleStatusListener to the context of
the contextAware object passed as parameter.
|
void |
addStatusEvent(Status status) |
protected PrintStream |
getPrintStream()
The PrintStream used by derived classes
|
long |
getRetrospective() |
boolean |
isStarted() |
void |
setRetrospective(long retrospective) |
void |
start() |
void |
stop() |
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
protected PrintStream getPrintStream()
public static void addNewInstanceToContext(Context loggerContext)
loggerContext
- public void addStatusEvent(Status status)
addStatusEvent
in interface StatusListener
public void setRetrospective(long retrospective)
public long getRetrospective()
Copyright © 2005–2014 QOS.ch. All rights reserved.