feat: stdout logging capabilities
- Added feature "stdout_logging" (see README) - Added config.loglevel option (see config.toml) - Logging some common things - Hopefully fix on_new_day_started
This commit is contained in:
parent
4c2ddde26f
commit
28b842b8c4
8 changed files with 669 additions and 550 deletions
|
|
@ -40,14 +40,17 @@ _Note: if event is not finished yet, it may have_ `end = start`.
|
|||
- Slint dependencies (see [Platforms](https://docs.slint.dev/latest/docs/slint/guide/platforms/desktop/) and [Backends & Renderers](https://docs.slint.dev/latest/docs/slint/guide/backends-and-renderers/backends_and_renderers/))
|
||||
|
||||
### Feature flags
|
||||
By default Aliveline compiles with theme autodetection, provided by Slint, which sometimes does not work on Linux.
|
||||
You can use these flags to compile Aliveline with selected theme:
|
||||
By default Aliveline compiles with theme autodetection, provided by Slint.
|
||||
On Linux, it depends on [org.freedesktop.portal.Settings](https://wiki.archlinux.org/title/XDG_Desktop_Portal).
|
||||
On Windows it should work out of the box
|
||||
You can also use one of these flags to compile Aliveline with selected theme:
|
||||
- `light`
|
||||
- `dark`
|
||||
|
||||
### Instructions
|
||||
Run `cargo build --release`
|
||||
Pass features in build command with `-F foo` or `--feature foo`
|
||||
Pass `--no-default-features` to disable stdout logging
|
||||
Resulting binary will be located at `target/release/aliveline[.exe]`
|
||||
|
||||
If compilation fails, double check that you have all required dependencies. If it still fails, file an issue on [Codeberg](https://codeberg.org/2ndbeam/aliveline/issues), including logs and system info.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue