Create a record formatter with the specified format and offset.
Synopsis
Declared in <ball_recordstringformatter.h>
RecordStringFormatter(
char const* format,
bdlt::DatetimeInterval const& offset,
allocator_type const& allocator = allocator_type());
Description
Optionally specify an allocator (e.g., the address of a bslma::Allocator object) to supply memory; otherwise, the default allocator is used.
DEPRECATED: Use a constructor taking publishInLocalTime instead.
Parameters
Name |
Description |
format |
printf‐style format specification |
offset |
timestamp offset applied to formatted timestamps |
allocator |
allocator used to supply memory |
Created with MrDocs