Skip to content

Commit

Permalink
chore: improve LoggingLayer docs and pub use log::Level (#2089)
Browse files Browse the repository at this point in the history
chore: describe default logging level in LoggingLayer docs
  • Loading branch information
killme2008 authored Apr 23, 2023
1 parent c541811 commit 0e887f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/layers/logging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ use crate::*;
/// - `finished`: the operation is successful.
/// - `errored`: the operation returns an expected error like `NotFound`.
/// - `failed`: the operation returns an unexpected error.
/// - The default log level while expected error happened is `Warn`.
/// - The default log level while unexpected failure happened is `Error`.
///
/// # Todo
///
Expand Down

0 comments on commit 0e887f7

Please sign in to comment.