(self, config=None)
New instance of LogentriesDiamondHandler class
New instance of LogentriesDiamondHandler class
New instance of LogentriesDiamondHandler class
def __init__(self, config=None):
        """
        New instance of LogentriesDiamondHandler class
        """

        Handler.__init__(self, config)
        self.log_token = self.config.get('log_token', None)
        self.queue_size = int(self.config['queue_size'])
        self.queue = deque([])
        if self.log_token is None:
            raise Exception
def __init__ ( self , config = None ) : Handler . __init__ ( self , config ) self . log_token = self . config . get ( 'log_token' , None ) self . queue_size = int ( self . config [ 'queue_size' ] ) self . queue = deque ( [ ] ) if self . log_token is None : raise Exception