BufferedLogger
A logger that can buffer the logging done on it and then can flush the buffer to the delegate logger provided in the constructor. Use 'startRecording' to start buffering and then 'play' from to flush the buffer to the backing logger. The logging level set at the time a message is originally logged is used, not the level at the time 'play' is called.
This class assumes that it is the only client of the delegate logger.
Attributes
- Graph
-
- Supertypes
-
class BasicLoggerclass AbstractLoggerclass Loggertrait Loggerclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Clears buffered events and disables buffering.
Clears buffered events and disables buffering.
Attributes
Flushes the buffer to the delegate logger. This method calls logAll on the delegate so that the messages are written consecutively. The buffer is cleared in the process.
Flushes the buffer to the delegate logger. This method calls logAll on the delegate so that the messages are written consecutively. The buffer is cleared in the process.
Attributes
Enables buffering.
Enables buffering.
Attributes
Attributes
- Definition Classes
Attributes
- Definition Classes
Attributes
- Definition Classes
Plays buffered events and disables buffering.
Plays buffered events and disables buffering.
Attributes
Deprecated methods
Attributes
- Deprecated
- true
- Definition Classes
Inherited methods
Attributes
- Inherited from:
- AbstractLogger
Attributes
- Inherited from:
- BasicLogger
Attributes
- Inherited from:
- BasicLogger
Defined in terms of other methods in Logger and should not be called from them.
Defined in terms of other methods in Logger and should not be called from them.
Attributes
- Inherited from:
- AbstractLogger
Attributes
- Inherited from:
- BasicLogger
Attributes
- Inherited from:
- AbstractLogger