Constructors
Declared in <ball_recordjsonformatter.h>
Create a record JSON formatter having the same format specification and record separator as in the specified original formatter, and adopting all outstanding memory allocations and the allocator associated with the original formatter. original is left in a valid but unspecified state.
RecordJsonFormatter(bslmf::MovableRef<RecordJsonFormatter> original) noexcept;
» more...
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".
explicit
RecordJsonFormatter(allocator_type const& allocator = allocator_type());
» more...
Create a record JSON formatter, having the same format specification and record separator as in the specified original formatter. The format specification of original is moved to the new object, and all outstanding memory allocations and the specified allocator are adopted if allocator == original.get_allocator(). original is left in a valid but unspecified state.
RecordJsonFormatter(
bslmf::MovableRef<RecordJsonFormatter> original,
allocator_type const& allocator);
» more...
Create a record JSON formatter initialized to the value of the specified original record formatter. Optionally specify an allocator (e.g., the address of a bslma::Allocator object) to supply memory; otherwise, the default allocator is used.
RecordJsonFormatter(
RecordJsonFormatter const& original,
allocator_type const& allocator = allocator_type());
» more...