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