Logging utilities.
Exscript.util.log.
log_to
Wraps a function that has a connection passed such that everything that happens on the connection is logged using the given logger.
log_to_file
Like log_to(), but automatically creates a new FileLogger instead of having one passed. Note that the logger stays alive (in memory) forever. If you need to control the lifetime of a logger, use log_to() instead.
log_to()