fix: pino logger error
This commit is contained in:
parent
0f7c59a8c1
commit
3330f72ad8
1 changed files with 1 additions and 2 deletions
|
@ -16,10 +16,9 @@ let isBotReady = false;
|
|||
|
||||
export class NeonClient extends Client {
|
||||
public commands: Collection<string, Command> = new Collection();
|
||||
public logger = pino({ level: 'trace', prettifier: PinoPretty({ colorize: true, translateTime: true, levelFirst: true }) });
|
||||
public ownerID: string;
|
||||
|
||||
public static logger = pino({ level: 'trace', prettifier: PinoPretty({ colorize: true, translateTime: true, levelFirst: true }) });
|
||||
|
||||
public constructor(ownerID: string, options: ClientOptions) {
|
||||
super(options);
|
||||
|
||||
|
|
Reference in a new issue