refactor: add colored log

This commit is contained in:
Kevin Yue
2023-05-28 19:11:31 +08:00
parent da3dc10569
commit c74ce52c2d
3 changed files with 36 additions and 1 deletions

View File

@@ -50,6 +50,7 @@ fn main() {
LogTarget::Stdout, /*LogTarget::Webview*/
])
.level(log::LevelFilter::Info)
.with_colors(Default::default())
.build(),
)
.setup(setup)