mogh_logger

Crates.iomogh_logger
lib.rsmogh_logger
version1.3.0
created_at2026-01-17 21:18:03.970256+00
updated_at2026-01-19 09:12:50.997662+00
descriptionConfigurable application level logger using tracing.
homepage
repositoryhttps://github.com/moghtech/lib
max_upload_size
id2051185
size54,618
Maxwell Becker (mbecker20)

documentation

README

Mogh Logger

Configurable application level logger. Handles internals for multiple output modes including open telemetry.

struct Config;

// Sets output to JSON
impl mogh_logger::LogConfig for Config {
  fn stdio(&self) -> mogh_logger::StdioLogMode {
    mogh_logger::StdioLogMode::Json
  }
}

// On application startup
mogh_logger::init(Config)?;
Commit count: 101

cargo fmt