BloombergLP::ball::RecordJsonFormatter::setRecordSeparator

Set the record separator for this record JSON formatter to the specified recordSeparator.

Synopsis

Declared in <ball_recordjsonformatter.h>

void
setRecordSeparator(std::string_view const& recordSeparator);

Description

The recordSeparator will be printed by each invocation of operator() after the formatted record. The default is a single newline character, "n".

Parameters

NameDescription
recordSeparatorstring printed after each formatted record