Tweak: don't overshadow msg in inner context.

This commit is contained in:
2026-01-09 18:45:33 -06:00
parent 79b9fe20ac
commit eb89d1da71
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -68,9 +68,9 @@ export class ConsoleLogAppender implements LogAppender {
logMethod(fmtMsg);
}
} else {
const { msg, _err, _stacktrace, ...rest } = fmtMsg;
const { msg: innerMsg, _err, _stacktrace, ...rest } = fmtMsg;
const summary = `${LogLevel[msg.level]} -- ${msg.scope}: ${
msg ?? fmtMsg.method
innerMsg ?? fmtMsg.method
}\n`;
if (msg.err || msg.stacktrace) {