|
||||
File indexing completed on 2024-11-15 09:01:06
0001 // Copyright 2022 The Abseil Authors. 0002 // 0003 // Licensed under the Apache License, Version 2.0 (the "License"); 0004 // you may not use this file except in compliance with the License. 0005 // You may obtain a copy of the License at 0006 // 0007 // https://www.apache.org/licenses/LICENSE-2.0 0008 // 0009 // Unless required by applicable law or agreed to in writing, software 0010 // distributed under the License is distributed on an "AS IS" BASIS, 0011 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 0012 // See the License for the specific language governing permissions and 0013 // limitations under the License. 0014 // 0015 // ----------------------------------------------------------------------------- 0016 // File: log/flags.h 0017 // ----------------------------------------------------------------------------- 0018 // 0019 0020 #ifndef ABSL_LOG_FLAGS_H_ 0021 #define ABSL_LOG_FLAGS_H_ 0022 0023 // The Abseil Logging library supports the following command line flags to 0024 // configure logging behavior at runtime: 0025 // 0026 // --stderrthreshold=<value> 0027 // Log messages at or above this threshold level are copied to stderr. 0028 // 0029 // --minloglevel=<value> 0030 // Messages logged at a lower level than this are discarded and don't actually 0031 // get logged anywhere. 0032 // 0033 // --log_backtrace_at=<file:linenum> 0034 // Emit a backtrace (stack trace) when logging at file:linenum. 0035 // 0036 // To use these commandline flags, the //absl/log:flags library must be 0037 // explicitly linked, and absl::ParseCommandLine() must be called before the 0038 // call to absl::InitializeLog(). 0039 // 0040 // To configure the Log library programmatically, use the interfaces defined in 0041 // absl/log/globals.h. 0042 0043 #endif // ABSL_LOG_FLAGS_H_
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |