Tor
0.4.7.0-alpha-dev
|
Declare the quiet_level enumeration and global. More...
Go to the source code of this file.
Enumerations | |
enum | quiet_level_t { QUIET_NONE = 0 , QUIET_HUSH = 1 , QUIET_SILENT = 2 } |
Functions | |
void | add_default_log_for_quiet_level (quiet_level_t quiet) |
Variables | |
quiet_level_t | quiet_level |
Declare the quiet_level enumeration and global.
Definition in file quiet_level.h.
enum quiet_level_t |
Enumeration to define how quietly Tor should log at startup.
Definition at line 16 of file quiet_level.h.
void add_default_log_for_quiet_level | ( | quiet_level_t | quiet | ) |
Add a default log (or not), depending on the value of quiet.
Definition at line 24 of file quiet_level.c.
Referenced by options_init_logs().
|
extern |
How quietly should Tor log at startup?
Decides our behavior when no logs are configured/before any logs have been configured. For QUIET_NONE, we log notice to stdout as normal. For QUIET_HUSH, we log warnings only. For QUIET_SILENT, we log nothing.
Definition at line 20 of file quiet_level.c.
Referenced by options_init_logs().