Skip to content

Commit 5297af2

Browse files
committed
updates Context documentation to new behavior
1 parent be9628b commit 5297af2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

libmamba/include/mamba/core/context.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,9 @@ namespace mamba
288288
Ignored if `options.enable_logging == false`.
289289
If `options.enable_logging == true and log_handler.has_value() == false`,
290290
which is the default if this parameter is not specified,
291-
then a default implementation-defined log handler implementation will be used.
291+
then the log handler will not be changed; the current one, if it exists, stays.
292+
If there is a current log-handler and your intent is to remove it, consider using
293+
`mamba::logging::stop_logging()` instead.
292294
*/
293295
Context(const ContextOptions& options = {}, logging::AnyLogHandler log_handler = {});
294296

0 commit comments

Comments
 (0)