pub fn init()Expand description
Initialize the Prax logging system.
This should be called once at application startup. Subsequent calls are no-ops.
Logging is controlled by:
PRAX_DEBUG=true- Enable debug-level loggingPRAX_LOG_LEVEL- Override the log level (trace, debug, info, warn, error)PRAX_LOG_FORMAT- Output format (pretty, json, compact)
ยงExample
use prax_query::logging;
// Initialize at the start of your application
logging::init();