Skip to content

Commit

Permalink
minor fix in the doc test of level method of log middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
tglman committed Oct 3, 2023
1 parent 0a6c3f5 commit e93e3f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions actix-web/src/middleware/logger.rs
Expand Up @@ -147,6 +147,8 @@ impl Logger {
///
/// # Examples
/// ```
/// # use log::Level;
/// # use actix_web::middleware::Logger;
/// Logger::default()
/// .level(Level::Debug);
/// ```
Expand Down

0 comments on commit e93e3f7

Please sign in to comment.