Package AccessEngine :: Module AELog :: Class XMLRPCHandler
[hide private]
[frames] | no frames]

Class XMLRPCHandler

source code

logging.Filterer --+    
                   |    
     logging.Handler --+
                       |
                      XMLRPCHandler

Defines an XML-RPC handler for the standard Python logging system.

Instance Methods [hide private]
 
__init__(self, host='127.0.0.1', port=9000)
Constructs a proxy to the server.
source code
 
emit(self, record)
Writes interpolated string log messages to the server.
source code

Inherited from logging.Handler: acquire, close, createLock, flush, format, handle, handleError, release, setFormatter, setLevel

Inherited from logging.Filterer: addFilter, filter, removeFilter

Instance Variables [hide private]
xmlrpclib.ServerProxy server
Server proxy mirroring methods on the server side
Method Details [hide private]

__init__(self, host='127.0.0.1', port=9000)
(Constructor)

source code 
Constructs a proxy to the server.
Parameters:
  • host (string) - Hostname on which the server is running
  • port (integer) - Port on which the server is listening
Overrides: logging.Handler.__init__

emit(self, record)

source code 
Writes interpolated string log messages to the server.
Parameters:
  • record (logging.LogRecord) - Record to log
Overrides: logging.Handler.emit