grpc_logger 0.10.0

A gRPC-based logging system with multiple output modes and retry capabilities
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
mod config;
mod grpc;
mod server_build;
use grpc_logger::init;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error + Sync + Send>> {
    // Initialize service with config file
    let _service = init("config.yaml").await?;

    // Keep the main task running until ctrl-c
    tokio::signal::ctrl_c().await?;
    tracing::info!("Shutting down server...");

    Ok(())
}