diff options
author | Anthony Towns <aj@erisian.com.au> | 2023-08-22 14:17:53 +1000 |
---|---|---|
committer | Anthony Towns <aj@erisian.com.au> | 2023-12-15 11:03:25 +1000 |
commit | dfe98b6874da04e45f68d17575c1e8a5431ca9bc (patch) | |
tree | e3d1cfe19e942bf86beede6986a1e74b866ce151 /src/test/logging_tests.cpp | |
parent | c5c76dc615677d226c9f6b3f2b66d833315d40da (diff) |
logging: make [cat:debug] and [info] implicit
Diffstat (limited to 'src/test/logging_tests.cpp')
-rw-r--r-- | src/test/logging_tests.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/logging_tests.cpp b/src/test/logging_tests.cpp index 2caabd12c7..ad3664b2bb 100644 --- a/src/test/logging_tests.cpp +++ b/src/test/logging_tests.cpp @@ -94,11 +94,11 @@ BOOST_FIXTURE_TEST_CASE(logging_LogPrintf_, LogSetup) log_lines.push_back(log); } std::vector<std::string> expected = { - "[src1:1] [fn1] [net:debug] foo1: bar1", + "[src1:1] [fn1] [net] foo1: bar1", "[src2:2] [fn2] [net] foo2: bar2", "[src3:3] [fn3] [debug] foo3: bar3", "[src4:4] [fn4] foo4: bar4", - "[src5:5] [fn5] [info] foo5: bar5", + "[src5:5] [fn5] foo5: bar5", }; BOOST_CHECK_EQUAL_COLLECTIONS(log_lines.begin(), log_lines.end(), expected.begin(), expected.end()); } @@ -120,7 +120,7 @@ BOOST_FIXTURE_TEST_CASE(logging_LogPrintMacros, LogSetup) std::vector<std::string> expected = { "foo5: bar5", "[net] foo6: bar6", - "[net:debug] foo7: bar7", + "[net] foo7: bar7", "[net:info] foo8: bar8", "[net:warning] foo9: bar9", "[net:error] foo10: bar10", |