Class TracingOptions (2.31.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
Name Description
TracingOptions const &

TracingOptions(TracingOptions &&)

Parameter
Name Description
TracingOptions &&

Operators

operator=(TracingOptions const &)

Parameter
Name Description
TracingOptions const &
Returns
Type Description
TracingOptions &

operator=(TracingOptions &&)

Parameter
Name Description
TracingOptions &&
Returns
Type Description
TracingOptions &

Functions

SetOptions(std::string const &)

Override the default options with values from str.

Parameter
Name Description
str std::string const &
Returns
Type Description
TracingOptions &

single_line_mode() const

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

Returns
Type Description
bool

use_short_repeated_primitives() const

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

Returns
Type Description
bool

truncate_string_field_longer_than() const

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

Returns
Type Description
std::int64_t