Class TracingOptions (2.18.0-rc)

The configuration parameters for RPC/protobuf tracing.

The default options are: single_line_mode=on use_short_repeated_primitives=on truncate_string_field_longer_than=128

Constructors

TracingOptions()

TracingOptions(TracingOptions const &)

Parameter
NameDescription
TracingOptions const &

TracingOptions(TracingOptions &&)

Parameter
NameDescription
TracingOptions &&

Operators

operator=(TracingOptions const &)

Parameter
NameDescription
TracingOptions const &
Returns
TypeDescription
TracingOptions &

operator=(TracingOptions &&)

Parameter
NameDescription
TracingOptions &&
Returns
TypeDescription
TracingOptions &

Functions

SetOptions(std::string const &)

Override the default options with values from str.

Parameter
NameDescription
str std::string const &
Returns
TypeDescription
TracingOptions &

single_line_mode() const

The entire message will be output on a single line with no line breaks.

Returns
TypeDescription
bool

use_short_repeated_primitives() const

Print repeated primitives in a compact format instead of each value on its own line.

Returns
TypeDescription
bool

truncate_string_field_longer_than() const

If non-zero, truncate all string/bytes fields longer than this.

Returns
TypeDescription
std::int64_t