Update the log class to use state instead of the impromptu instance.
Types and documentation for impromptu.log.