Skip to content

Commit

Permalink
chore: cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
bomgar committed Nov 28, 2023
1 parent 3d71883 commit ff477ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/template.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ use handlebars::{handlebars_helper, no_escape, Handlebars};
use std::convert::TryInto;
use yansi::{Color, Style};

pub static DEFAULT_MAIN_LINE_FORMAT: &str = "{{bold(fixed_size 19 fblog_timestamp)}} {{level_style (uppercase (fixed_size 5 fblog_level))}}:{{bold(cyan fblog_prefix)}} {{fblog_message}}";
pub static DEFAULT_MAIN_LINE_FORMAT: &str =
"{{bold(fixed_size 19 fblog_timestamp)}} {{level_style (uppercase (fixed_size 5 fblog_level))}}:{{bold(cyan fblog_prefix)}} {{fblog_message}}";
pub static DEFAULT_ADDITIONAL_VALUE_FORMAT: &str = "{{bold (color_rgb 150 150 150 (fixed_size 25 key))}}: {{value}}";

fn level_to_style(level: &str) -> Style {
Expand Down

0 comments on commit ff477ab

Please sign in to comment.