Expose functionality to set global log threshold