From 069ed1c8a4f447cdb0626145717108e7a2742357 Mon Sep 17 00:00:00 2001 From: MEO265 <99362508+MEO265@users.noreply.github.com> Date: Sat, 8 Jun 2024 12:38:03 +0200 Subject: [PATCH] doc: Add sys.envs to NEWS --- NEWS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/NEWS.md b/NEWS.md index 536efdf..3a6ebfd 100644 --- a/NEWS.md +++ b/NEWS.md @@ -17,6 +17,7 @@ * All condition log handlers (e.g., `warning()`) allow `NA` for the parameter `.loggit`. If `NA`, the log level set by `set_log_level()` is used to determine if the condition should be logged. This is the new default behavior, but since the default log level is `"DEBUG"`, this should not change the behavior of existing code. * All `set_*` functions now return the previous value of the setting. +* The default settings can now be controlled by the system environment variables `FILE_LOGGIT2`, `TIMESTAMP_LOGGIT2`, `ECHO_LOGGIT2` and `LEVEL_LOGGIT2`. ## Bugfixes * `read_logs()` now correctly reads empty character values `""`, as in `{"key": ""}`.