Skip to content

Commit

Permalink
fix: list request headers with built-in logger
Browse files Browse the repository at this point in the history
  • Loading branch information
kukhariev committed May 3, 2023
1 parent 7c83e29 commit dc7a4a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/utils/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class BasicLogger implements Logger {

write = (data: unknown[], level: Exclude<LogLevel, 'none'>): void => {
if (PriorityOf[level] >= PriorityOf[this._logLevel]) {
const message = formatWithOptions({ depth: 1, maxStringLength: 80 }, ...data);
const message = formatWithOptions({ depth: 2, maxStringLength: 80 }, ...data);
const timestamp = new Date().toISOString();
this.logger[level](`${timestamp} ${level.toUpperCase()} ${this.label} ${message}`);
}
Expand Down

0 comments on commit dc7a4a6

Please sign in to comment.