__init__ (
self,
nl_url,
prog_name,
opaque_string=None,
)
Initialize an instance of the netlogger plugin.
This function will initialize the NetloggerPlugin instance data for this
plugin, and will make the plugin usable for ftp client handle attribute and
handle creation.
Arguments
nl_url the url to log to. (May be None)
Valid urls are: file://tmp/netlog.log
x-netlog://host[:port]
x-syslog://localhost
prog_name This is used as the prog name in the NetLoggerOpen call
opaque_string this is an opaque string that will be inserted into
all logged statements. (may be None)
Raises
A PluginException is thrown if unable to init the plugin.
Exceptions
|
|
PluginException( "Unable to activate the module" )
PluginException( handle )
|
|