diff options
author | notgne2 | 2021-01-01 19:30:33 -0700 |
---|---|---|
committer | notgne2 | 2021-01-01 19:30:33 -0700 |
commit | 12fee773d5a3a142a8cb9b57e57ff2be98346584 (patch) | |
tree | ecb38b2684f92a5a9de792fbb0b6763d075f54f3 /src | |
parent | b6a6abe104d348ba696054c930a3dafe0edf8d00 (diff) |
Format logs differently
Diffstat (limited to 'src')
-rw-r--r-- | src/utils/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils/mod.rs b/src/utils/mod.rs index b1aa3e6..89b124f 100644 --- a/src/utils/mod.rs +++ b/src/utils/mod.rs @@ -44,7 +44,7 @@ pub fn logger_formatter_activate( write!( w, - "⭐ {0} {1} {0} {2}", + "⭐ {} [activate] [{}] {}", make_emoji(level), style(level, level.to_string()), record.args() @@ -60,7 +60,7 @@ pub fn logger_formatter_wait( write!( w, - "👀 {0} {1} {0} {2}", + "👀 {} [wait] [{}] {}", make_emoji(level), style(level, level.to_string()), record.args() @@ -76,7 +76,7 @@ pub fn logger_formatter_deploy( write!( w, - "🚀 {0} {1} {0} {2}", + "🚀 {} [deploy] [{}] {}", make_emoji(level), style(level, level.to_string()), record.args() |