pub fn setup_tracing(crate_name: &str) -> Result<Option<EyesShutdownHandle>>Expand description
Sets up tracing with optional Eyes, Honeycomb, and stdout layers.
Returns an optional EyesShutdownHandle that should be used for graceful shutdown
when Eyes is configured (via EYES_ORG_ID and EYES_APP_ID environment variables).
ยงEnvironment Variables
RUST_LOG: Log filter (defaults toinfo,{crate_name}=trace,tower_http=debug,serenity=error)JSON_LOGS: If set, outputs JSON logs instead of hierarchicalHONEYCOMB_API_KEY: Enables Honeycomb tracingEYES_ORG_ID: Eyes organization ID (UUID)EYES_APP_ID: Eyes application ID (UUID)EYES_URL: Eyes server URL (defaults tohttps://eyes.coreyja.com)