iceprod :: core :: logger :: IceProdDgramHandler :: Class IceProdDgramHandler
[hide private]
[frames] | no frames]

Class IceProdDgramHandler

source code

            object --+                
                     |                
      logging.Filterer --+            
                         |            
           logging.Handler --+        
                             |        
logging.handlers.SocketHandler --+    
                                 |    
  logging.handlers.DatagramHandler --+
                                     |
                                    IceProdDgramHandler

Instance Methods [hide private]
 
__init__(self, host, port, site='?')
Initializes the handler with a specific host address and port.
source code
 
emit(self, record)
Emit a record.
source code

Inherited from logging.handlers.DatagramHandler: makeSocket, send

Inherited from logging.handlers.SocketHandler: close, createSocket, handleError, makePickle

Inherited from logging.Handler: acquire, createLock, flush, format, get_name, handle, release, setFormatter, setLevel, set_name

Inherited from logging.Filterer: addFilter, filter, removeFilter

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from logging.Handler: name

Inherited from object: __class__

Method Details [hide private]

__init__(self, host, port, site='?')
(Constructor)

source code 

Initializes the handler with a specific host address and port.

Overrides: object.__init__
(inherited documentation)

emit(self, record)

source code 

Emit a record.

Pickles the record and writes it to the socket in binary format. If there is an error with the socket, silently drop the packet. If there was a problem with the socket, re-establishes the socket.

Overrides: logging.Handler.emit
(inherited documentation)