Get the logger from a central place

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

View file

@ -2,10 +2,12 @@
from __future__ import division, absolute_import, print_function, unicode_literals
import requests
import json
import logging
from helper.utils import settings
LOG = logging.getLogger('JELLYFIN.' + __name__)
from helper.utils import settings
from helper import LazyLogger
LOG = LazyLogger(__name__)
def jellyfin_url(client, handler):