blob: 12180227c4dfdbd9ea47d26617daceadd00e7862 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import logging as log
class PlayoffLogger:
@classmethod
def setup(cls, level):
log.basicConfig(
level=level,
format='%(levelname)-8s %(name)-8s %(message)s')
@classmethod
def get(cls, category=''):
return log.getLogger(category)
|