Logbook: Emit log level as its string repr
This is needed for sentry to handle the log
message properly.