logging: Better error messages for invalid Log::delay() calls

Add a test for Log::delay() usage within filter policy hooks, too.
This commit is contained in:
Arne Welzel 2023-11-28 11:09:12 +01:00
parent 5e046eee58
commit e2ce929fa4
6 changed files with 29 additions and 7 deletions

View file

@ -0,0 +1,3 @@
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
1362692527.080972 error: invalid Log::delay() call: outside of Log::log_stream_policy() hook
1362692527.080972 error: invalid Log::delay_finish() call: invalid token provided