Skip to content
Snippets Groups Projects
Commit 6d2a4aa2 authored by Simon McVittie's avatar Simon McVittie
Browse files

Merge branch 'wip/smcv/debug-invocation' into 'main'

log: Treat DEBUG_INVOCATION=1 as equivalent to SRT_LOG=debug

See merge request !773
parents 72364f0f a1f8ea82
No related branches found
No related tags found
1 merge request!773log: Treat DEBUG_INVOCATION=1 as equivalent to SRT_LOG=debug
...@@ -699,6 +699,9 @@ _srt_util_set_glib_log_handler (const char *prgname, ...@@ -699,6 +699,9 @@ _srt_util_set_glib_log_handler (const char *prgname,
if (_srt_boolean_environment ("PRESSURE_VESSEL_LOG_WITH_TIMESTAMP", FALSE)) if (_srt_boolean_environment ("PRESSURE_VESSEL_LOG_WITH_TIMESTAMP", FALSE))
flags |= SRT_LOG_FLAGS_TIMESTAMP; flags |= SRT_LOG_FLAGS_TIMESTAMP;
if (_srt_boolean_environment ("DEBUG_INVOCATION", FALSE))
flags |= SRT_LOG_FLAGS_DEBUG;
if (_srt_boolean_environment ("PRESSURE_VESSEL_LOG_INFO", FALSE)) if (_srt_boolean_environment ("PRESSURE_VESSEL_LOG_INFO", FALSE))
flags |= SRT_LOG_FLAGS_INFO; flags |= SRT_LOG_FLAGS_INFO;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment