Skip to main content

lrwf_core/
mode.rs

1//! Application mode: Development vs Production.
2//!
3//! Controls framework behavior such as startup banner verbosity
4//! and built-in request logging.
5
6/// Controls how the framework behaves at startup and at runtime.
7#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
8pub enum AppMode {
9    /// Full startup banner, per-request console logging, verbose diagnostics.
10    #[default]
11    Development,
12    /// Minimal one-line startup message, no framework-initiated console logging.
13    Production,
14}