Ferrite Logging
Logging infrastructure for the Ferrite image viewer.
Features
- Log level configuration through environment variables and CLI
- Tracy profiler integration for performance monitoring
- Simple initialization API
- Type-safe log level handling
Usage
use ;
// Basic setup with default config
let config = default;
init;
// Custom setup with Tracy enabled
let config = LogConfig ;
init;
// Get log level from RUST_LOG environment variable
let level = get_log_level_from_env;