Skip to main content

forge_agent/
logging.rs

1//! Tracing target constants used by the agent's bridge code. Strings
2//! stay consistent with the server's `logging::targets` so the
3//! subscriber's env-filter picks up agent-side logs.
4
5pub mod targets {
6    pub const APP_INPUT: &str = "app.input";
7    pub const APP_PERMISSION: &str = "app.permission";
8    pub const BRIDGE_LIFECYCLE: &str = "bridge.lifecycle";
9    pub const SERVICE_STATUS: &str = "agent.service_status";
10    pub const CATALOG_SCAN: &str = "agent.catalog_scan";
11    pub const TOOLING: &str = "agent.tooling";
12    pub const ENV_GIT: &str = "agent.env_git";
13    pub const SETTINGS: &str = "agent.settings";
14}