The raw log message. This is the original message template without any further processing. It can be either:
- A string without any substitutions if the log record was created with
a method call syntax, e.g., "Hello, {name}!" for
logger.info("Hello, {name}!", { name })
. - A template string array if the log record was created with a tagged
template literal syntax, e.g.,
["Hello, ", "!"]
for ``logger.info`Hello, ${name}!```.
string | TemplateStringsArray