| 85 | |
| 86 | |
| 87 | const std::string Logging::TOGGLE_HELP() |
| 88 | { |
| 89 | return HELP( |
| 90 | TLDR( |
| 91 | "Sets the logging verbosity level for a specified duration."), |
| 92 | DESCRIPTION( |
| 93 | "The libprocess library uses [glog][glog] for logging. The library", |
| 94 | "only uses verbose logging which means nothing will be output unless", |
| 95 | "the verbosity level is set (by default it's 0, libprocess uses levels" |
| 96 | " 1, 2, and 3).", |
| 97 | "", |
| 98 | "**NOTE:** If your application uses glog this will also affect", |
| 99 | "your verbose logging.", |
| 100 | "", |
| 101 | "Query parameters:", |
| 102 | "", |
| 103 | "> level=VALUE Verbosity level (e.g., 1, 2, 3)", |
| 104 | "> duration=VALUE Duration to keep verbosity level", |
| 105 | "> toggled (e.g., 10secs, 15mins, etc.)"), |
| 106 | AUTHENTICATION(true), |
| 107 | None(), |
| 108 | REFERENCES( |
| 109 | "[glog]: https://code.google.com/p/google-glog")); |
| 110 | } |
| 111 | |
| 112 | } // namespace process { |
nothing calls this directly
no test coverage detected