From a662cae2398f0bfa1c04a9ba5e7e45da582374d6 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Mon, 18 Oct 2021 10:21:28 -0700 Subject: [PATCH] changelog --- documentation/RELEASE_NOTES.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/documentation/RELEASE_NOTES.md b/documentation/RELEASE_NOTES.md index 0005240ed..ca6e0198f 100644 --- a/documentation/RELEASE_NOTES.md +++ b/documentation/RELEASE_NOTES.md @@ -16,6 +16,33 @@ should also be read to understand what has changed since earlier releases. +### Colorized Messages for errlog + +Many internal error messages now emit ANSI escape sequences to highlight the +words "ERROR" and "WARNING" in an attempt to make occurrences more noticeable +during IOC startup. + +The macros `ERL_ERROR` and `ERL_WARNING` are defined for external usage, +and expand as string constants. eg. + +```c +#include +#ifndef ERL_ERROR +# define ERL_ERROR "ERROR" +#endif +void fn() { + ... + errlogPrintf(ERL_ERROR ": something bad happens :(\n"); +``` + +ANSI escapes are automatically removed from errlog output not destined +for a terminal. For example, for logClient, if stderr is redirected, +or if unsupported (`$TERM` not set, or Windows < 10). + +### `dbnd` filter pass through DBE_ALARM|DBE_PROPERTY + +The `dbnd` server side filter now passes through alarm and property +change events, even when not exceeding the deadband. ## EPICS Release 7.0.6.1