[PATCH v21 14/14] log: colorize log output
Stephen Hemminger
stephen at networkplumber.org
Tue Jun 4 04:37:44 CEST 2024
On Mon, 3 Jun 2024 17:45:02 -0700
Stephen Hemminger <stephen at networkplumber.org> wrote:
> Like dmesg, colorize the log output (unless redirected to file).
> Timestamp is green, the subsystem is in yellow and the message
> is red if urgent, boldface if an error, and normal for info and
> debug messages.
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
Yet another valid patch that checkpatch complains about:
1. indent is correct, but it can't see #ifdefs
2. stdio is not a spelling error
3. it doesn't understand that FILE is a type, so it thinks it sees a multiply operator
More information about the dev
mailing list