For log messages, demote the msg into the value

and make the type 'Log Message'.
This may just be a matter of personal taste, but I've always found these
messages-as-type super-confusing. I'd rather have some made up (but clear,
and thanks to the whitespace unlikely-to-otherwise-exist) type "Log Message".

This is also inline in what I've already done in the UI.
This commit is contained in:
Klaas van Schelven
2024-04-08 14:47:32 +02:00
parent a70ac7e1cb
commit 8d17e7b128
2 changed files with 7 additions and 7 deletions

View File

@@ -15,6 +15,6 @@ class DefaultEvent:
)
if message:
return truncatechars(message.splitlines()[0], 100), ""
return "Log Message", truncatechars(message.splitlines()[0], 100)
return "<unlabeled event>", ""
return "Log Message", "<no log message>"