ó
äÛi^c           @   s%   d  Z  d d l Z d a d „  Z d S(   s    Grab the global logger instance.iÿÿÿÿNc          C   sc   t  d k r_ d d l m }  |  j ƒ  r: |  j ƒ  j a  q_ t j d ƒ a  t  j	 t j
 ƒ  ƒ n  t  S(   s‰   Grab the global logger instance.

    If a global Application is instantiated, grab its logger.
    Otherwise, grab the root logger.
    i   (   t   Applicationt	   traitletsN(   t   _loggert   Nonet   configR    t   initializedt   instancet   logt   loggingt	   getLoggert
   addHandlert   NullHandler(   R    (    (    s,   lib/python2.7/site-packages/traitlets/log.pyt
   get_logger
   s    (   t   __doc__R   R   R   R   (    (    (    s,   lib/python2.7/site-packages/traitlets/log.pyt   <module>   s   