added logger and started logging commands and errors #2

Merged
w388zhan merged 1 commits from logging into master 2 years ago
w388zhan commented 2 years ago (Migrated from git.uwaterloo.ca)
Owner

Added a logger that will write to daily rotational log files under /logs. All logs will be written to /logs/YYYY-MM-DD.log and error logs will be written to /logs/error-YYYY-MM-DD.log

The diff is big because of formatting with prettier

Added a logger that will write to daily rotational log files under `/logs`. All logs will be written to `/logs/YYYY-MM-DD.log` and error logs will be written to `/logs/error-YYYY-MM-DD.log` The diff is big because of formatting with prettier
w388zhan commented 2 years ago (Migrated from git.uwaterloo.ca)
Owner

requested review from @m375chen

requested review from @m375chen
w388zhan commented 2 years ago (Migrated from git.uwaterloo.ca)
Owner

requested review from @a284wang and removed review request for @m375chen

requested review from @a284wang and removed review request for @m375chen
w388zhan commented 2 years ago (Migrated from git.uwaterloo.ca)
Owner

requested review from @m375chen and removed review request for @a284wang

requested review from @m375chen and removed review request for @a284wang
w388zhan commented 2 years ago (Migrated from git.uwaterloo.ca)
Owner

requested review from @a284wang and removed review request for @m375chen

requested review from @a284wang and removed review request for @m375chen
w388zhan commented 2 years ago (Migrated from git.uwaterloo.ca)
Owner

removed review request for @a284wang

removed review request for @a284wang
m375chen commented 2 years ago (Migrated from git.uwaterloo.ca)
Owner

requested review from @m375chen

requested review from @m375chen
m375chen commented 2 years ago (Migrated from git.uwaterloo.ca)
Owner

approved this merge request

approved this merge request
m375chen commented 2 years ago (Migrated from git.uwaterloo.ca)
Owner

Looks good - I didn't run this branch locally to check if ping pong works tho

Looks good - I didn't run this branch locally to check if ping pong works tho
w388zhan commented 2 years ago (Migrated from git.uwaterloo.ca)
Owner

yeah I'll set up some CI soon, need to write tests tho :(

yeah I'll set up some CI soon, need to write tests tho :(
w388zhan commented 2 years ago (Migrated from git.uwaterloo.ca)
Owner

mentioned in commit ed599bd7ea

mentioned in commit ed599bd7eaed1922ce19a348b622d33dce3dcc74
The pull request has been merged as ed599bd7ea.
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: old/discord-bot#2
Loading…
There is no content yet.