correctly parse response errors for logging
This commit is contained in:
parent
2aa3cf2731
commit
c0f24eaf5d
3 changed files with 12 additions and 9 deletions
|
|
@ -27,7 +27,7 @@ export type DataObject = Record<string, unknown> | (object & { length?: never; }
|
|||
export default class Logger {
|
||||
private context: Context;
|
||||
private parentLogger: Logger | null = null;
|
||||
private readonly verbose: boolean;
|
||||
public readonly verbose: boolean;
|
||||
|
||||
constructor(context: string, color?: KEYWORD, verbose?: boolean) {
|
||||
this.context = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue