Class TracingOptions (2.20.0)
Stay organized with collections
Save and categorize content based on your preferences.
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 |
|
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-08-21 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"lastModified": "Last updated 2024-08-21 UTC.",
"confidential": False
}