Create a record JSON formatter having a default format specification and record separator.
Declared in <ball_recordjsonformatter.h>
explicit
RecordJsonFormatter(allocator_type const& allocator = allocator_type());
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: ` ["timestamp", "processId", "threadId", "severity", "file", "line",] "category", "message", "attributes"] ` The default record separator is "n".
| Name | Description |
|---|---|
| allocator | memory allocator used to supply memory |