[#BloombergLP-ball-RecordStringFormatter-2constructor-05] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/RecordStringFormatter.adoc[RecordStringFormatter]::RecordStringFormatter :relfileprefix: ../../../ :mrdocs: Create a record formatter with the specified `format` and `offset`. == Synopsis Declared in `<ball_recordstringformatter.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- RecordStringFormatter( char const* format, xref:BloombergLP/bdlt/DatetimeInterval.adoc[bdlt::DatetimeInterval] const& offset, xref:BloombergLP/ball/RecordStringFormatter/allocator_type.adoc[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 [cols="1,4"] |=== | Name| Description | *format* | printf‐style format specification | *offset* | timestamp offset applied to formatted timestamps | *allocator* | allocator used to supply memory |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#