diff options
author | Kirill Chibisov <contact@kchibisov.com> | 2024-10-02 23:58:14 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-02 23:58:14 +0300 |
commit | 58383f4e46e22c90e7ed85db535d9640b464176b (patch) | |
tree | 83368ff3c745c8dcea9041950578b473624fc0c4 | |
parent | 3db09595f31bd9f2f211d43d96f0acb887a68991 (diff) | |
download | alacritty-58383f4e46e22c90e7ed85db535d9640b464176b.tar.gz alacritty-58383f4e46e22c90e7ed85db535d9640b464176b.zip |
Restructure message bar log message
The first line is not really useful for the user, so move it to the
bottom.
-rw-r--r-- | alacritty/src/logging.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alacritty/src/logging.rs b/alacritty/src/logging.rs index 08e79469..67cad63e 100644 --- a/alacritty/src/logging.rs +++ b/alacritty/src/logging.rs @@ -113,11 +113,11 @@ impl Logger { let env_var = format!("%{}%", ALACRITTY_LOG_ENV); let message = format!( - "[{}] See log at {} ({}):\n{}", + "[{}] {}\nSee log at {} ({})", record.level(), + record.args(), logfile_path, env_var, - record.args(), ); let mut message = Message::new(message, message_type); |