daklib.daklog

Logging functions

@contact: Debian FTP Master <ftpmaster@debian.org> @copyright: 2001, 2002, 2006 James Troup <james@nocrew.org> @license: GNU General Public License version 2 or later

Classes

Logger([program, debug, print_starting, ...])

Logger object

class daklib.daklog.Logger(program='unknown', debug=False, print_starting=True, include_pid=False)[source]

Logger object

__shared_state = {}
_open_log(debug) None[source]
close() None[source]

Close a Logger object

log(details: list[str]) None[source]

Log an event

log_traceback(info, ex) None[source]

Log an exception with a traceback