Skip to content

Commit

Permalink
added 'displayFilename: true' to the Logger; Debug Purposes
Browse files Browse the repository at this point in the history
For easier Debugging purposes, mainly to know where the console output is from.
`[16/09/2022] [19:25:52] [ready.js] [Manager] » ⁉️  Error:    client.users.size is not a function`
  • Loading branch information
2M4U authored Sep 16, 2022
1 parent 743ac2b commit 7a17afe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/structures/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ module.exports = class Client extends Discord.Client {
this.logger = new Logger({
displayTimestamp: true,
displayDate: true,
displayFilename: true, //For easier Debugging purposes, mainly to know where the console output is from.
}, this);

this.databaseHelper = new DatabaseHelper(this);
Expand Down

0 comments on commit 7a17afe

Please sign in to comment.