Skip to content

Commit

Permalink
add debug information
Browse files Browse the repository at this point in the history
  • Loading branch information
fishman committed Nov 20, 2023
1 parent 1259ec2 commit d39ede4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ Until packaging is added you can install sleepwatcher using cargo.

`cargo install --git https://github.com/fishman/sleepwatcher-rs`

## Debug

sleepwatcher-rs uses `env_logger`. You can enable logging by setting the `RUST_LOG` environment variable:

`RUST_LOG=debug sleepwatcher-rs`

## Default config

The default config is written to `~/.config/sleepwatcher-rs/idle_config.lua` on startup if the folder and file does not exist yet.
Expand Down

0 comments on commit d39ede4

Please sign in to comment.