Skip to content

Commit

Permalink
Add timestamp to logging output
Browse files Browse the repository at this point in the history
  • Loading branch information
jtackaberry committed Sep 15, 2023
1 parent 5e7a73b commit 4cfe2cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
import logging

log = logging.getLogger('luadox')
logging.basicConfig(format='[%(levelname)s] %(message)s', level=logging.DEBUG)
logging.basicConfig(format='%(asctime)s [%(levelname)s] %(message)s', level=logging.DEBUG)

0 comments on commit 4cfe2cd

Please sign in to comment.