Crate custom_tracing_logger

Crate custom_tracing_logger 

Source
Expand description

Custom tracing logger that outputs structured JSON logs

This crate provides a simple interface to initialize a JSON-formatted logger using the tracing ecosystem. All logs are output as structured JSON with metadata including timestamp, level, target, and message.

Modules§

structured
Structured logging helpers

Macros§

log_error
Convenience macro for error logging with context
log_request
Convenience macro for HTTP request logging

Functions§

init
Initialize the JSON logger
print_config
Print current logging configuration
validate_config
Validate current logging configuration without initializing