This class provides a value‐semantic log record formatter that holds a printf‐style format specification and a timestamp offset. 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.
Synopsis
Declared in <ball_recordstringformatter.h>
class RecordStringFormatter;
Type Aliases
Name |
Description |
This |
Member Functions
Name |
Description |
|
Constructors |
Assign to this record formatter the value of the specified |
|
Disable adjust of the timestamp attribute of to the current local time by this file observer. This method has no effect if adjustment to the current local time is not enabled. |
|
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. Note that if no allocator was supplied at construction the default allocator in effect at construction is used. |
|
Return |
|
Format the specified |
|
Set the format specification of this record formatter to the specified |
|
Set the timestamp offset of this record formatter to the specified |
|
Return a reference to the non‐modifiable timestamp offset of this record formatter. |
|
|
Declare that this type uses a |
Static Member Functions
Name |
Description |
This class method configures a formatter for the "text" scheme using the specified |
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