sitefox.logging
Functions to help with writing log files.
bind-console-to-file
(bind-console-to-file)
This is deprecated in favour of tracebacks/install-traceback-handler
. Rebinds console.log
and console.error
so that they write to ./logs/error.log
as well as stdout.
flush-bound-console
(flush-bound-console cb)
This is deprecated in favour of tracebacks/install-traceback-handler
.