Class LogQueue
java.lang.Object
com.netscape.cms.logging.LogQueue
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLogEventListener(ILogEventListener listener) Adds an event listener.voidflush()Flushes the log buffers (if any)static ILogQueuevoidinit()Initializes the log queue.voidLogs an event, and notifies logger to reuse the event.voidremoveLogEventListener(ILogEventListener listener) Removes an event listener.voidshutdown()Stops this log queue: shuts down all registered listeners
-
Field Details
-
mListeners
-
-
Constructor Details
-
LogQueue
public LogQueue()Constructs a log queue.
-
-
Method Details
-
getLogQueue
-
init
-
shutdown
-
addLogEventListener
Adds an event listener.- Specified by:
addLogEventListenerin interfaceILogQueue- Parameters:
listener- the log event listener
-
removeLogEventListener
Removes an event listener.- Specified by:
removeLogEventListenerin interfaceILogQueue- Parameters:
listener- the log event listener
-
log
-
flush
-