Get the logger from a central place

This commit is contained in:
Odd Stråbø 2020-04-19 03:05:59 +02:00
commit 795dfd38df
55 changed files with 157 additions and 167 deletions

View file

@ -7,7 +7,7 @@ import logging
from kodi_six import xbmc, xbmcvfs
from helper import loghandler
from helper import LazyLogger
from jellyfin import Jellyfin
from .default import Events
@ -16,9 +16,6 @@ from .context import Context
#################################################################################################
Jellyfin.set_loghandler(loghandler.LogHandler, logging.DEBUG)
loghandler.reset()
loghandler.config()
LOG = logging.getLogger('JELLYFIN.entrypoint')
LOG = LazyLogger("entrypoint")
#################################################################################################