Send feedback
Class TracingOptions (2.13.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.13.0 keyboard_arrow_down
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-26 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-26 UTC."],[],[]]