diff options
author | emkael <emkael@tlen.pl> | 2019-07-26 10:09:46 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2019-07-26 10:09:46 +0200 |
commit | 1bd3c0c9de01555435559b242c864fcd2a712579 (patch) | |
tree | 6758cdc54f386d52c3947141b75d23931ef6134f /jfr_playoff/logger.py | |
parent | 7879c847b3b1aa2a9b6775e38dbad22de5b37e96 (diff) |
Logging facilities for GUI
Diffstat (limited to 'jfr_playoff/logger.py')
-rw-r--r-- | jfr_playoff/logger.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/jfr_playoff/logger.py b/jfr_playoff/logger.py index 8944e5b..1218022 100644 --- a/jfr_playoff/logger.py +++ b/jfr_playoff/logger.py @@ -6,8 +6,7 @@ class PlayoffLogger: @classmethod def setup(cls, level): log.basicConfig( - level=getattr(log, level), - streamhandler=log.StreamHandler(), + level=level, format='%(levelname)-8s %(name)-8s %(message)s') @classmethod |