From 93f84a41b4cefed86629a6736ebfc321da3621ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Backstr=C3=B6m?= Date: Thu, 31 Oct 2024 22:00:55 +0100 Subject: [PATCH] logger: Fix documentation equiv macro closes #9011 --- lib/kernel/src/logger.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/kernel/src/logger.erl b/lib/kernel/src/logger.erl index bb3dc2b27983..fb1409c1658c 100644 --- a/lib/kernel/src/logger.erl +++ b/lib/kernel/src/logger.erl @@ -339,7 +339,7 @@ Handler configuration data for Logger. %%%----------------------------------------------------------------- %%% API --define(LOG_DOC_1(Level), (#{equiv => emergency(StringOrReport, #{})})). +-define(LOG_DOC_1(Level), (#{equiv => Level(StringOrReport, #{})})). -define(LOG_DOC_2(Level), " Create a " Level " log event.