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 const &
TracingOptions &
operator=(TracingOptions &&) Parameter Name Description
TracingOptions &&
TracingOptions &
Functions SetOptions(std::string const &)
Override the default options with values from str
.
str
std::string const &
TracingOptions &
single_line_mode() const
The entire message will be output on a single line with no line breaks.
Returns Type Descriptionbool
use_short_repeated_primitives() const
Print repeated primitives in a compact format instead of each value on its own line.
Returns Type Descriptionbool
truncate_string_field_longer_than() const
If non-zero, truncate all string/bytes fields longer than this.
Returns Type Descriptionstd::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 2025-08-14 UTC.
[[["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 2025-08-14 UTC."],[[["This page details the `TracingOptions` class for configuring RPC/protobuf tracing, including settings for single-line output, compact repeated primitives, and string truncation length."],["The class offers constructors for creating `TracingOptions` objects, including copy and move constructors, and an extensive list of past versions from 2.10.1 to 2.37.0-rc."],["It provides methods to override default options with custom strings using `SetOptions`, and retrieve current settings like `single_line_mode`, `use_short_repeated_primitives`, and `truncate_string_field_longer_than`."],["The default configuration for tracing includes `single_line_mode=on`, `use_short_repeated_primitives=on`, and a string truncation length of 128 characters."]]],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4