mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-12-14 02:53:19 +00:00
Get the logger from a central place
This commit is contained in:
parent
7e141724c1
commit
795dfd38df
55 changed files with 157 additions and 167 deletions
|
|
@ -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")
|
||||
|
||||
#################################################################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue