This class provides a concrete implementation of the Observer protocol.
Synopsis
Declared in <ball_streamobserver.h>
class StreamObserver
: public Observer
Description
The publish method of this class outputs the log records that it receives to an instance of bsl::ostream supplied at construction.
Base Classes
Name |
Description |
This class provides a protocol for receiving and processing log record output. |
Type Aliases
Name |
Description |
Alias for the record formatting functor type. |
|
|
|
This |
Member Functions
Name |
Description |
|
Create a stream observer that transmits log records to |
|
Destroy this stream observer. |
Disable publishing of record timestamps in local time. |
|
Enable publishing of record timestamps in local time. |
|
Return the format config of the last successful |
|
Return |
|
|
|
|
Discard any shared reference to a |
Set the stream record format from the specified |
|
Set the formatting functor used when writing records to the stream. |