aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorCraig Barnes <craigbarnes@protonmail.com>2021-06-26 21:15:09 +0000
committerCraig Barnes <craigbarnes@protonmail.com>2021-06-26 21:15:09 +0000
commit5dca0458a09ebc586fda49c50533976f055d8de2 (patch)
tree9e1f768a9e3302fe5048a8d3a86cb614a8a57e5e /CHANGELOG.md
parentvt: don’t reset utf8proc grapheme state when we’re not at a grapheme break (diff)
log: add LOG_CLASS_NONE and use as initializer for log_level
This means that logging will be completely disabled until log_init() has been called, which is useful to prevent log spam when running UNITTEST{} blocks in debug builds. Note that this doesn't change the default log level at runtime, which was already being set to LOG_CLASS_INFO in main.c and client.c. The new log level is also exposed to the command-line interface as `--log-level=none`, which allows disabling logging entirely.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3934dadf..0e6b7a73 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -28,7 +28,11 @@
## Unreleased
+
### Added
+
+* `--log-level=none` command-line option.
+
### Changed
### Deprecated
### Removed
@@ -40,6 +44,8 @@
### Security
### Contributors
+* [craigbarnes](https://codeberg.org/craigbarnes)
+
## 1.8.0