Create a record formatter with the default format and given offset.

Synopsis

Declared in <ball_recordstringformatter.h>

explicit
RecordStringFormatter(
    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. The default format specification is: ` "n%d %p:%t %s %f:%l %c %m %un" `

DEPRECATED: Use a constructor taking publishInLocalTime instead.

Parameters

Name

Description

offset

timestamp offset applied to formatted timestamps

allocator

allocator used to supply memory

Created with MrDocs