Crate pyo3_pylogger

source ·

Functions

  • Convenience function to register the rust logger with the Python logging instance.
  • Registers the host_log function in rust as the event handler for Python’s logging logger This function needs to be called from within a pyo3 context as early as possible to ensure logging messages arrive to the rust consumer.