diff --git a/src/logging.ts b/src/logging.ts index 3aa34b99e..912ebc845 100644 --- a/src/logging.ts +++ b/src/logging.ts @@ -32,9 +32,7 @@ class Logger implements ILogger { public info(message?: any, ...optionalParams: any[]): void { this.append( 'INFO ', - `${message} ${ - optionalParams ? util.inspect(optionalParams, { depth: Infinity }) : '' - }` + `${message} ${optionalParams ? util.inspect(optionalParams) : ''}` ); }