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

@ -4,7 +4,6 @@ from __future__ import division, absolute_import, print_function, unicode_litera
#################################################################################################
import json
import logging
import socket
import time
from datetime import datetime
@ -16,10 +15,11 @@ from .credentials import Credentials
from .http import HTTP # noqa: I201,I100
from .api import API
import traceback
from helper import LazyLogger
#################################################################################################
LOG = logging.getLogger('JELLYFIN.' + __name__)
LOG = LazyLogger(__name__)
CONNECTION_STATE = {
'Unavailable': 0,
'ServerSelection': 1,