BloombergLP::ball::RecordJsonFormatter::RecordJsonFormatter

Create a record JSON formatter having a default format specification and record separator. Optionally specify an allocator (e.g., the address of a bslma::Allocator object) to supply memory; otherwise, the allocator is used. The default format specification is: ` ["timestamp", "processId", "threadId", "severity", "file", "line",] "category", "message", "attributes"] ` The default record separator is "n".

Synopsis

Declared in <ball_recordjsonformatter.h>

explicit
RecordJsonFormatter(allocator_type const& allocator = allocator_type());