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

@ -14,10 +14,11 @@ from six import text_type
from database import jellyfin_db
from helper import translate, settings, window, dialog
from objects import obj
from helper import LazyLogger
#################################################################################################
LOG = logging.getLogger("JELLYFIN." + __name__)
LOG = LazyLogger(__name__)
#################################################################################################

View file

@ -2,13 +2,12 @@
from __future__ import division, absolute_import, print_function, unicode_literals
#################################################################################################
import logging
from database import queries as QU
from helper import LazyLogger
##################################################################################################
LOG = logging.getLogger("JELLYFIN." + __name__)
LOG = LazyLogger(__name__)
##################################################################################################