py logger removal
Cargo Check, Format, Fix and Test / cargo CI (push) Failing after 2m21s Details

This commit is contained in:
Christoph J. Scherr 2024-01-16 10:18:39 +01:00
parent 074dcf9c0f
commit c85e785802
Signed by: cscherrNT
GPG Key ID: 8E2B45BC51A27EA7
1 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
// FIXME: Using a local dependency does not work with maturin as it seems?
use libpt::log::*;
// TODO: python interface for the logger
// use libpt::log::*;
use pyo3::prelude::*;
@ -17,7 +18,7 @@ pub fn is_loaded() -> bool {
#[pymodule]
fn py_logger(py: Python, parent: &PyModule) -> PyResult<()> {
let module = PyModule::new(py, "logger")?;
module.add_class::<Logger>()?;
// module.add_class::<Logger>()?;
parent.add_submodule(module)?;
Ok(())