mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 11:40:22 +00:00
Use environment variable ULTRAGRID_VERBOSE
This commit is contained in:
@@ -234,6 +234,10 @@ bool set_log_level(const char *optarg, bool *logger_repeat_msgs) {
|
||||
*logger_repeat_msgs = true;
|
||||
}
|
||||
|
||||
if (getenv("ULTRAGRID_VERBOSE") != nullptr) {
|
||||
log_level = LOG_LEVEL_VERBOSE;
|
||||
}
|
||||
|
||||
if (optarg[0] == '+') {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user