Package adams.console
Class Logging.RemoteListenerRunnableWithLog
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.flow.core.RunnableWithLogging
-
- adams.core.logging.RemoteReceiveHandler.AbstractRemoteListenerRunnable
-
- adams.console.Logging.RemoteListenerRunnableWithLog
-
- All Implemented Interfaces:
LoggingLevelHandler
,LoggingSupporter
,SizeOfHandler
,Stoppable
,StoppableWithFeedback
,Serializable
,Runnable
- Enclosing class:
- Logging
public static class Logging.RemoteListenerRunnableWithLog extends RemoteReceiveHandler.AbstractRemoteListenerRunnable
Runnable that outputs the log records to stdout.- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.core.logging.RemoteReceiveHandler.AbstractRemoteListenerRunnable
DEFAULT_PORT, DEFAULT_TIMEOUT, m_Port, m_Socket, m_TimeOut
-
Fields inherited from class adams.flow.core.RunnableWithLogging
m_Running, m_Stopped
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RemoteListenerRunnableWithLog(int port, int timeout)
Initializes the runnable.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
publish(LogRecord record)
Publishes the record.-
Methods inherited from class adams.core.logging.RemoteReceiveHandler.AbstractRemoteListenerRunnable
doRun, preRun, stopExecution
-
Methods inherited from class adams.flow.core.RunnableWithLogging
isRunning, isStopped, postRun, run, setLoggingLevel
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
-
-
-
Method Detail
-
publish
protected void publish(LogRecord record)
Publishes the record.- Specified by:
publish
in classRemoteReceiveHandler.AbstractRemoteListenerRunnable
- Parameters:
record
- the record
-
-