tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

flags.h (1618B)


      1 // Copyright 2022 The Abseil Authors.
      2 //
      3 // Licensed under the Apache License, Version 2.0 (the "License");
      4 // you may not use this file except in compliance with the License.
      5 // You may obtain a copy of the License at
      6 //
      7 //      https://www.apache.org/licenses/LICENSE-2.0
      8 //
      9 // Unless required by applicable law or agreed to in writing, software
     10 // distributed under the License is distributed on an "AS IS" BASIS,
     11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     12 // See the License for the specific language governing permissions and
     13 // limitations under the License.
     14 //
     15 // -----------------------------------------------------------------------------
     16 // File: log/flags.h
     17 // -----------------------------------------------------------------------------
     18 //
     19 
     20 #ifndef ABSL_LOG_FLAGS_H_
     21 #define ABSL_LOG_FLAGS_H_
     22 
     23 // The Abseil Logging library supports the following command line flags to
     24 // configure logging behavior at runtime:
     25 //
     26 // --stderrthreshold=<value>
     27 // Log messages at or above this threshold level are copied to stderr.
     28 //
     29 // --minloglevel=<value>
     30 // Messages logged at a lower level than this are discarded and don't actually
     31 // get logged anywhere.
     32 //
     33 // --log_backtrace_at=<file:linenum>
     34 // Emit a backtrace (stack trace) when logging at file:linenum.
     35 //
     36 // To use these commandline flags, the //absl/log:flags library must be
     37 // explicitly linked, and absl::ParseCommandLine() must be called before the
     38 // call to absl::InitializeLog().
     39 //
     40 // To configure the Log library programmatically, use the interfaces defined in
     41 // absl/log/globals.h.
     42 
     43 #endif  // ABSL_LOG_FLAGS_H_