aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrooks Rady <b.j.rady@gmail.com>2021-07-21 12:33:42 +0100
committerGitHub <noreply@github.com>2021-07-21 12:33:42 +0100
commitb55c879e7a4407b92c79a3baa79cd06db0b1bf2a (patch)
treec9a69041a6cfc0c6ef17826a580f4c13601dd6c4 /src
parentdocs(changelog): noop for mouse actions on plugins (diff)
parentCleanup Cargo.toml (diff)
downloadsl0ppij-b55c879e7a4407b92c79a3baa79cd06db0b1bf2a.tar.gz
sl0ppij-b55c879e7a4407b92c79a3baa79cd06db0b1bf2a.tar.xz
sl0ppij-b55c879e7a4407b92c79a3baa79cd06db0b1bf2a.zip
feat(logging): Implement a universal logging system
* Added `log` crate support for logging within Zellij (https://docs.rs/log/0.4.14/log/#macros) * Messages sent over the `stderr` of plugins are now logged as well, bringing back `dbg!` support!
Diffstat (limited to 'src')
-rw-r--r--src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index b3706ead..612e130e 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -19,6 +19,7 @@ use zellij_utils::{
};
pub fn main() {
+ configure_logger();
let opts = CliArgs::from_args();
if let Some(Command::Sessions(Sessions::ListSessions)) = opts.command {