public class

InMemoryHandler

extends Handler
java.lang.Object
   ↳ com.microstrategy.utils.log.Handler
     ↳ com.microstrategy.utils.log.InMemoryHandler

Class Overview

This handler keeps track in memory of all published records until flush is called.

Summary

Public Constructors
InMemoryHandler()
Public Methods
void close()
void flush()
LogRecord[] getRecords()
Returns an array with the LogRecords that have been published.
void publish(LogRecord record)
[Expand]
Inherited Methods
From class com.microstrategy.utils.log.Handler
From class java.lang.Object
From interface com.microstrategy.utils.log.Configurable

Public Constructors

public InMemoryHandler ()

Public Methods

public void close ()

public void flush ()

public LogRecord[] getRecords ()

Returns an array with the LogRecords that have been published.

public void publish (LogRecord record)