You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, it would be nice to have something closer to the log create, or a kind of integration, where the user could set the message format, adding like: function/file name, line, time and etc.
The text was updated successfully, but these errors were encountered:
use paris::formatter::colorize_string;//initialize your old logger herelet t = colorize_string("<blue><on-bright-red> This text is blue on a bright red background</> it's a pain");info!("{}", t);//or:warn!("{}", colorize_string("<b><green>TEST"));
This is so cool. So now instead of this (ansi_term): Style::new().bold().fg(Green).paint(err.to_string())
I can use just <b><green>{}
I will now search if I could wrap it in some macro to be able to use it like before using just info!, warn!, etc
So, it would be nice to have something closer to the log create, or a kind of integration, where the user could set the message format, adding like: function/file name, line, time and etc.
The text was updated successfully, but these errors were encountered: