1# Zlog
2
3Use the `ZED_LOG` environment variable to control logging output for Zed
4applications and libraries. The variable accepts a comma-separated list of
5directives that specify logging levels for different modules (crates). The
6general format is for instance:
7
8```
9ZED_LOG=info,project=debug,agent=off
10```
11
12- Levels can be one of: `off`/`none`, `error`, `warn`, `info`, `debug`, or
13 `trace`.
14- You don't need to specify the global level, default is `trace` in the crate
15 and `info` set by `RUST_LOG` in Zed.