use Lazy;
use Regex;
/// Path patterns for Emby API and Web UI that are NOT in cacheable_routes.
/// These paths will use DEBUG level in LoggerMiddleware to reduce log noise.
///
/// ## How to add a new pattern
///
/// Add a regex string to match paths that should be logged at DEBUG.
/// Typically: /emby/* API and /web/* static assets.
const DEBUG_PATH_PATTERNS: & = &;
static COMPILED_DEBUG_PATTERNS: = new;
/// Returns true if the path is a "non-cared" API path (Emby API or Web UI
/// that is not in cacheable_routes). These should use DEBUG log level.