diff options
author | Paweł Palenica <pawelpalenica11@gmail.com> | 2021-07-13 23:22:11 -0700 |
---|---|---|
committer | Paweł Palenica <pawelpalenica11@gmail.com> | 2021-07-13 23:29:04 -0700 |
commit | b15cfba6e1c6227395a4f8cd2a625bd75659092e (patch) | |
tree | 1175c031bd191ae0216e7f75bdc2238fb7c81f6a /zellij-client/src | |
parent | a38c176646fcbe8f10d71c32e955674ffd7b669d (diff) |
Apply code review suggestions. Rename decorating_pipe to logging_pipe. Add plugin_id to plugin log. Move logger init from file to in-code initialization and change logging file to zellij directory. Change format of timestamp.
Diffstat (limited to 'zellij-client/src')
-rw-r--r-- | zellij-client/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zellij-client/src/lib.rs b/zellij-client/src/lib.rs index 90732024d..d456103aa 100644 --- a/zellij-client/src/lib.rs +++ b/zellij-client/src/lib.rs @@ -3,6 +3,7 @@ pub mod os_input_output; mod command_is_executing; mod input_handler; +use log::info; use std::env::current_exe; use std::io::{self, Write}; use std::path::Path; @@ -291,6 +292,7 @@ pub fn start_client( ); os_input.disable_mouse(); + info!("{}", exit_msg); os_input.unset_raw_mode(0); let mut stdout = os_input.get_stdout_writer(); let _ = stdout.write(goodbye_message.as_bytes()).unwrap(); |