parameters: (self, name, logger=None)
docstring: Parameters:
              name (str): a string name given to this Notifier instance.
              logger (Logger, optional): an optional Logger object for
                  piping output to.  If none is specified, the global
                  :data:`~.LoggerGlobal.defaultLogger` is used.
docstring_summary: Parameters:
              name (str): a string name given to this Notifier instance.
              logger (Logger, optional): an optional Logger object for
                  piping output to.  If none is specified, the global
                  :data:`~.LoggerGlobal.defaultLogger` is used.
docstring_tokens: Parameters : name ( str ) : a string name given to this Notifier instance . logger ( Logger optional ) : an optional Logger object for piping output to . If none is specified the global : data : ~ . LoggerGlobal . defaultLogger is used .
function: def __init__(self, name, logger=None):
          """
          Parameters:
              name (str): a string name given to this Notifier instance.
              logger (Logger, optional): an optional Logger object for
                  piping output to.  If none is specified, the global
                  :data:`~.LoggerGlobal.defaultLogger` is used.
          """
          self.__name = name
  
          if logger is None:
              self.__logger = defaultLogger
          else:
              self.__logger = logger
  
          # Global default levels are initialized here
          self.__info = 1
          self.__warning = 1
          self.__debug = 0
          self.__logging = 0
function_tokens: def __init__ ( self , name , logger = None ) : self . __name = name if logger is None : self . __logger = defaultLogger else : self . __logger = logger # Global default levels are initialized here self . __info = 1 self . __warning = 1 self . __debug = 0 self . __logging = 0