Skip to content
Snippets Groups Projects

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

Merged Simon McVittie requested to merge wip/smcv/debug-invocation into main
1 file
+ 3
0
Compare changes
  • Side-by-side
  • Inline
+ 3
0
@@ -699,6 +699,9 @@ _srt_util_set_glib_log_handler (const char *prgname,
if (_srt_boolean_environment ("PRESSURE_VESSEL_LOG_WITH_TIMESTAMP", FALSE))
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))
flags |= SRT_LOG_FLAGS_INFO;
Loading