From 58383f4e46e22c90e7ed85db535d9640b464176b Mon Sep 17 00:00:00 2001 From: Kirill Chibisov Date: Wed, 2 Oct 2024 23:58:14 +0300 Subject: Restructure message bar log message The first line is not really useful for the user, so move it to the bottom. --- alacritty/src/logging.rs | 4 ++-- 1 file 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); -- cgit v1.2.3-54-g00ecf