Crate sod_log

source ·
Expand description

sod::Service logging implementations via log.

Service Impls

Use Case

These Service impls are most useful for logging an event as it passes through a service chain.

Example

use sod::Service;
use sod_log::LogDisplayService;

let logging_service = LogDisplayService::info("my event: ");
logging_service.process("hello world!").unwrap();

Structs