fix(Logger): Handle interpolating stdout (#7114)
* fix(Logger): Handle interpolating stdout * Update CHANGELOG.md
This commit is contained in:
@@ -52,7 +52,7 @@ function configureTransports(options) {
|
||||
colorize: true,
|
||||
name: 'console',
|
||||
silent,
|
||||
format: consoleFormat,
|
||||
format: format.combine(format.splat(), consoleFormat),
|
||||
},
|
||||
options
|
||||
);
|
||||
|
||||
@@ -79,7 +79,7 @@ class ParseLiveQueryServer {
|
||||
// Register message handler for subscriber. When publisher get messages, it will publish message
|
||||
// to the subscribers and the handler will be called.
|
||||
this.subscriber.on('message', (channel, messageStr) => {
|
||||
logger.verbose('Subscribe messsage %j', messageStr);
|
||||
logger.verbose('Subscribe message %j', messageStr);
|
||||
let message;
|
||||
try {
|
||||
message = JSON.parse(messageStr);
|
||||
|
||||
Reference in New Issue
Block a user