fix: desktop and mobile

This commit is contained in:
Jonathan Kelley committed 2021-10-22 01:16:39 -04:00
1 parent f66cda4bed
commit 601078f9cf
23 files changed
+670 -132

No files matched your search

+1 -2
View File
@@ -1,6 +1,5 @@
pub fn set_up_logging(enabled: bool) {
use fern::colors::{Color, ColoredLevelConfig};
if !enabled {
return;
@@ -19,7 +18,7 @@ pub fn set_up_logging(enabled: bool) {
// configure colors for the name of the level.
// since almost all of them are the same as the color for the whole line, we
// just clone `colors_line` and overwrite our changes
let colors_level = colors_line.clone().info(Color::Green);
let colors_level = colors_line.info(Color::Green);
// here we set up our fern Dispatch
// when running tests in batch, the logger is re-used, so ignore the logger error