This class provides a concrete implementation of the Observer protocol.
Synopsis
Declared in <ball_cstdioobserver.h>
class CstdioObserver
: public Observer
Description
The publish method of this class outputs the log records that it receives to a FILE * supplied at construction and then flushes the stream.
Base Classes
Name |
Description |
This class provides a protocol for receiving and processing log record output. |
Type Aliases
Name |
Description |
|
|
|
Member Functions
Name |
Description |
|
Create a cstdio observer that transmits log records to a stream. |
|
Destroy this cstdio 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 formatting functor from the specified scheme‐tagged format. |
|
Set the record formatting functor used by this observer. |
|
|
Declare that this type uses a |