add tools for module-level logging.
Facility: prepend each line with a facility id. NoFacility: for one-module scripts. StderrRedirector: capture stderr output to log as facility 'stderr'. redirect_stderr: install it. set_logger: new fun. log: main interface.
Showing
Please register or sign in to comment