Enum rapid_web::logger::LoggerType
source · pub enum LoggerType {
Minimal,
Detailed,
Verbose,
}Expand description
An enum for selecting a RapidLogger output type
The RapidLogger has 3 different logging formats/variants
RapidLogger::minimalRapidLogger::detailedRapidLogger::verbose
Example output
[rapid-web::logger] REQUEST GET /get-todos HTTP/1.1
Variants§
Trait Implementations§
source§impl Clone for LoggerType
impl Clone for LoggerType
source§fn clone(&self) -> LoggerType
fn clone(&self) -> LoggerType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more