  import cv2
  import dlib
  
  from lib.gpu_stats import GPUStats
  from lib.utils import rotate_image_by_angle, rotate_landmarks
  
  
  class Detector():
      """ Detector object """
      def __init__(self, verbose=False, rotation=None):
 
</s> remove from ._base import Detector, dlib
 </s> add from ._base import Detector, dlib, logger </s> remove from ._base import Detector, dlib
 </s> add from ._base import Detector, dlib, logger </s> remove from lib.utils import rotate_image_by_angle
 </s> add  </s> remove     def __init__(self, verbose=False, rotation=None):
 </s> add     def __init__(self, loglevel, rotation=None):
        logger.debug("Initializing %s: (rotation: %s)", self.__class__.__name__, rotation)
        self.loglevel = loglevel
from lib.utils import rotate_landmarks

logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  import cv2
  import dlib
  
  from lib.gpu_stats import GPUStats
from lib.utils import rotate_landmarks

logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
  
  class Detector():
      """ Detector object """
      def __init__(self, verbose=False, rotation=None):
keep keep keep keep replace keep keep keep keep keep
 Logging (#541)

* Convert prints to logger. Further logging improvements. Tidy  up

* Fix system verbosity. Allow SystemExit

* Fix reload extract bug

* Child Traceback handling

* Safer shutdown procedure

* Add shutdown event to queue manager

* landmarks_as_xy > property. GUI notes + linting. Aligner bugfix

* fix FaceFilter. Enable nFilter when no Filter is supplied

* Fix blurry face filter

* Continue on IO error. Better error handling

* Explicitly print stack trace tocrash log

* Windows Multiprocessing bugfix

* Add git info and conda version to crash log

* Windows/Anaconda mp bugfix

* Logging fixes for training 
plugins/extract/detect/_base.py