I renamed get_log_style -> get_log_color to better reflect the new return value.
In test.rs line 26, I don't like nesting format! withing println!, but I don't know a better way to have the @ and : colored.
In logging.rs line 160 the : after the filename was also colored blue now it is not formatted, I think it looks better this way since it isn't part of the filename and the implementation doesn't require me to use an additional call to format.
This should close #16
Some things to note:
PINK
is called magenta in colored.PURPLE
(\x1b[34m
) actually is blue.get_log_style
->get_log_color
to better reflect the new return value.test.rs
line 26, I don't like nestingformat!
withingprintln!
, but I don't know a better way to have the@
and:
colored.logging.rs
line 160 the:
after the filename was also colored blue now it is not formatted, I think it looks better this way since it isn't part of the filename and the implementation doesn't require me to use an additional call toformat
.