Skip to content

Commit

Permalink
config: make set_write_log_enable_colors() an ansi_term feature depen…
Browse files Browse the repository at this point in the history
…dant
  • Loading branch information
manio committed Nov 11, 2021
1 parent 3e0b336 commit cda7757
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/config.rs
Expand Up @@ -196,6 +196,7 @@ impl ConfigBuilder {
}

/// set if you want to write colors in the logfile (default is Off)
#[cfg(feature = "ansi_term")]
pub fn set_write_log_enable_colors(&mut self, local: bool) -> &mut ConfigBuilder {
self.0.write_log_enable_colors = local;
self
Expand Down

0 comments on commit cda7757

Please sign in to comment.