rsiot-logging 0.0.62

Настройка логгирования
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[derive(Debug, thiserror::Error)]
pub enum Error {
    #[cfg(any(target_arch = "x86_64", target_arch = "aarch64"))]
    #[error("{source}")]
    Loki {
        #[from]
        source: tracing_loki::Error,
    },

    #[cfg(any(target_arch = "x86_64", target_arch = "aarch64"))]
    #[error("{source}")]
    Parse {
        #[from]
        source: url::ParseError,
    },
}