BloombergLP::ball::RecordStringFormatter::RecordStringFormatter

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

NameDescription
formatprintf-style format specification
offsettimestamp offset applied to formatted timestamps
allocatorallocator used to supply memory