There are no base classes.
There are no implemented interfaces.
config_logger
(type: NoneType
)
None
configfile
(type: NoneType
)
None
confighandlers
(type: NoneType
)
None
configroot
(type: NoneType
)
None
doc
(type: NoneType
)
None
logsectionname
(type: NoneType
)
None
positional_args_allowed
(type:
int
)
0
progname
(type: NoneType
)
None
schema
(type: NoneType
)
None
schemadir
(type: NoneType
)
None
schemafile
(type:
str
)
'schema.xml'
add(name=None, confname=None, short=None, long=None, handler=None, default=None, required=None, flag=None, env=None)
Add information about a configuration option.
This can take several forms:
add(name, confname)
Configuration option confname
maps to attribute name
add(name, None, short, long)
Command line option -short
or --long
maps to name
add(None, None, short, long, handler)
Command line option calls handler
add(name, None, short, long, handler)
Assign handler return value to attribute name
In addition, one of the following keyword arguments may be given:
default_configfile()
Return the name of the default config file, or None.
help(dummy)
Print a long help message (self.doc) to stdout and exit(0).
Occurrences of "%s" in self.doc are replaced by self.progname.
load_configfile()
load_logconf(sectname='eventlog')
load_schema()
realize(args=None, progname=None, doc=None, raise_getopt_errs=True)
remove(name=None, confname=None, short=None, long=None)
Remove all traces of name, confname, short and/or long.
usage(msg)
Print a brief error message to stderr and exit(2).