Skip to content

Commit 5e9a588

Browse files
committed
Replace format with inspect
1 parent 030c203 commit 5e9a588

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/LoggerWithoutCallSite.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -896,9 +896,9 @@ export class LoggerWithoutCallSite {
896896
let formatted;
897897
try {
898898
const maskedObject = this._maskValuesOfKeys(object);
899-
formatted = format(maskedObject, options);
899+
formatted = inspect(maskedObject, options);
900900
} catch {
901-
formatted = format(object, options);
901+
formatted = inspect(object, options);
902902
}
903903

904904
return this._maskAny(formatted);

0 commit comments

Comments
 (0)