BloombergLP::ball::RecordJsonFormatter::RecordJsonFormatter

Create a record JSON formatter initialized to the value of the specified original record formatter.

Synopsis

Declared in <ball_recordjsonformatter.h>

RecordJsonFormatter(
    RecordJsonFormatter const& original,
    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.

Parameters

NameDescription
originalformatter to copy
allocatormemory allocator used to supply memory