This class provides a value‐semantic log record formatter that holds a printf‐style format specification and a timestamp offset.
Synopsis
Declared in <ball_recordstringformatter.h>
class RecordStringFormatter;
Description
The overloaded operator() provided by the class formats a given record according to the format specification and outputs the formatted result to a given stream. The timestamp offset of the record formatter is added to each timestamp that is output to the stream.
Type Aliases
Name |
Description |
This |
Member Functions
Name |
Description |
|
Constructors |
Assign to this record formatter the value of the specified |
|
Disable adjustment of timestamps to the current local time. |
|
Enable adjustment of the timestamp attribute to the current local time. This method has no effect if adjustment to the current local time is already enabled. |
|
Return the format specification of this record formatter. |
|
Return the allocator used by this object to supply memory. |
|
Return |
|
Format |
|
Set the format specification of this record formatter to |
|
Set the timestamp offset of this record formatter to |
|
Return a reference to the non‐modifiable timestamp offset of this record formatter. |
|
|
Declare that this type uses a |
Static Member Functions
Name |
Description |
Configure a "text" scheme formatter and load it into |
Static Data Members
Name |
Description |
A simple standard record format that renders |
|
The default log format specification used by |
Non-Member Functions
Name |
Description |
Return |
|
Return |
Created with MrDocs