my.rescuetime: use rescuexport directly, add error handling & dataframe
This commit is contained in:
parent
e34c04ebc8
commit
28fcc1d9b6
3 changed files with 27 additions and 16 deletions
|
@ -40,8 +40,6 @@ def setup_logger(logger: logging.Logger, level: LevelIsh) -> None:
|
|||
|
||||
|
||||
class LazyLogger(logging.Logger):
|
||||
# TODO perhaps should use __new__?
|
||||
|
||||
def __new__(cls, name, level: LevelIsh = 'DEBUG'):
|
||||
logger = logging.getLogger(name)
|
||||
# this is called prior to all _log calls so makes sense to do it here?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue