aboutsummaryrefslogtreecommitdiff
path: root/test/log.cc
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2023-10-18 18:47:10 +0200
committerJohannes Stoelp <johannes.stoelp@gmail.com>2023-10-18 18:47:10 +0200
commitbce90f172699c8094668fbedafcd11fc743588b5 (patch)
treecb2e4ae2bb432ff898b39ce5677f088dba0cf2c6 /test/log.cc
parent5d27fb85fc3d482f10aa7b5fab900beb1d4a0e92 (diff)
downloadcpp-utils-bce90f172699c8094668fbedafcd11fc743588b5.tar.gz
cpp-utils-bce90f172699c8094668fbedafcd11fc743588b5.zip
log: fix -Wformat-security lint and remove lint excuse
Diffstat (limited to 'test/log.cc')
-rw-r--r--test/log.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/log.cc b/test/log.cc
index c059ba8..7d8305d 100644
--- a/test/log.cc
+++ b/test/log.cc
@@ -4,6 +4,7 @@ int main() {
logging::logger<> mlog;
mlog.set_level(logging::kDbg0);
+ INFO(&mlog, "Hallo nofmt");
INFO(&mlog, "Hallo %d", 42);
WARN(&mlog, "Hallo %x", 0x1337);
FAIL(&mlog, "Hallo %u", 666);