rskit-bootstrap 0.2.0-alpha.1

Application lifecycle orchestration: typestate App, Component registry, hooks
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use rskit_config::ServiceConfig;

/// Print a human-readable startup summary to the tracing output.
pub fn print_startup(cfg: &ServiceConfig, component_count: usize) {
    tracing::debug!(
        service   = %cfg.name,
        version   = %cfg.version,
        env       = %cfg.environment,
        components = component_count,
        "starting service"
    );
}