From bedc3bf26faaf47dd60e6e8a483b4569cbdc14d3 Mon Sep 17 00:00:00 2001 From: Hong Ge <3279477+yebai@users.noreply.github.com> Date: Mon, 26 Feb 2024 21:35:02 +0000 Subject: [PATCH] Update sample.jl --- src/sample.jl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/sample.jl b/src/sample.jl index 175ec8df..d60a0739 100644 --- a/src/sample.jl +++ b/src/sample.jl @@ -2,9 +2,10 @@ const PROGRESS = Ref(true) """ - setprogress!(progress::Bool) + setprogress!(progress::Bool; silent::Bool=false) -Enable progress logging globally if `progress` is `true`, and disable it otherwise. +Enable progress logging globally if `progress` is `true`, and disable it otherwise. +Optionally disable informational message if `silent` is `true`. """ function setprogress!(progress::Bool; silent::Bool=false) if !silent