Module logging

Module logging 

Source
Expand description

ML-ready structured logging for cache operations.

This module provides comprehensive structured logging suitable for machine learning training and analysis. All cache operations emit JSON-formatted logs with rich metadata for correlation and analysis.

Structs§

CacheEvent
Structured cache event for ML training.
MLLoggingConfig
Configuration for ML-ready structured logging.

Enums§

CacheEventType
Types of cache events that can be logged.

Functions§

hash_key
Hashes a cache key using SHA-256 for privacy.
log_cache_operation
Helper to log a simple cache operation.