Logging
Logging
The monitor uses structured logging with configurable output formats:
Console Logging (Development)
File Logging (Production)
configure_monitor(
log_to_file=True,
log_file_path="/var/log/myapp/monitor.log"
) # Logs to file in JSON format