summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2024-10-28 13:47:52 +0100
committerTom Rini <[email protected]>2024-11-03 21:27:12 -0600
commit12d583b38fa570da1fc5aba6d1f5aaf2ba3d8505 (patch)
tree8660ca35c11ffdb9626c8e49cb7c8b75dddae263 /common
parentae3b5928d61190d0faef7dfb2bbfc415a25b6ca5 (diff)
log: Add a new category for tests
In some core test code, no existing categories make sense. Add a new one for testing. Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'common')
-rw-r--r--common/log.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/log.c b/common/log.c
index b83a6618900..c9fe35230d6 100644
--- a/common/log.c
+++ b/common/log.c
@@ -32,6 +32,7 @@ static const char *const log_cat_name[] = {
"fs",
"expo",
"console",
+ "test",
};
_Static_assert(ARRAY_SIZE(log_cat_name) == LOGC_COUNT - LOGC_NONE,