Skip to content

log: Do not call gjs_debug function if such topic is disabled

Marco Trevisan requested to merge 3v1n0/gjs:debug-logging-filtering into master

Calling gjs_debug directly implies also going through the VAR_ARGS that may call functions that are doing some expensive operations, so avoid calling gjs_debug and all its arguments at all if a debug topic is not enabled

Merge request reports