| 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_ |
| 44 |