Skip to content

Commit

Permalink
docs(fmt): Point people to anstyle adapters
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Feb 13, 2024
1 parent 8bf7499 commit 1b0f4dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/fmt/mod.rs
Expand Up @@ -129,6 +129,8 @@ impl Formatter {
/// Get the default [`style::Style`] for the given level.
///
/// The style can be used to print other values besides the level.
///
/// See [`style`] for how to adapt it to the styling crate of your choice
pub fn default_level_style(&self, level: Level) -> style::Style {
if self.write_style == WriteStyle::Never {
style::Style::new()
Expand Down

0 comments on commit 1b0f4dd

Please sign in to comment.