| Description: |
Hi,
I would like to see more introspection for the logger
command.
At the moment only logger::services and
${log}::services exist
I would like to see this additions:
::logger::levels --
Return the currently defined levels accepted by logger
enable/disable.
${log}::enabled --
Return 1 if the service is enabled 0 otherwise.
${log}::currentloglevel -- (bad name?)
Return the current log level for this service .
And maybe:
${log}::delproc --
Return the current deleteproc if no argument was given.
Similar behaviour for the procs for the log levels.
(BTW. What is the rationale for not using a proc name
as argument for logproc but creating a new proc? Speed?
)
Michael
|