log4j 0.1.0

Library to log to Java's log4j from Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use thiserror::Error;

pub type Result<T> = std::result::Result<T, Error>;


#[derive(Debug, Error)]
pub enum Error {
    #[error("JNI call failed")]
    Java(
        #[from]
        #[source]
        jni::errors::Error,
    ),
}