This project provides a new debug view for gyscos/cursive using the emabee/flexi_logger crate. This enables the FlexiLoggerView
to respect the RUST_LOG
environment variable as well as the flexi_logger
configuration file. Have a look at the demo
below to see how it looks.
How does it look like? demo
Usage
Simply add to your Cargo.toml
[]
= "^0"
Using the FlexiLoggerView
To create a FlexiLoggerView
you first have to register the cursive_flexi_logger
as a LogTarget
in flexi_logger
. After the flexi_logger
has started, you may create a FlexiLoggerView
instance and add it to cursive.
use Cursive;
use FlexiLoggerView;
use ;
Look into the documentation for a detailed explanation on the API.
Troubleshooting
If you find any bugs/unexpected behaviour or you have a proposition for future changes open an issue describing the current behaviour and what you expected.
Development
TBD
Running the tests
Just run
$ cargo test
to execute all available tests.
shields.io endpoints
shields.io endpoints are generated inside the ./target/shields
folder. They are used in this README.
Authors
Fin Christensen
:octocat:
@fin-ger
:elephant:@fin_ger@mastodon.social
:bird:@fin_ger_github
Johannes Wünsche
:octocat:
@jwuensche
:elephant:@fredowald@mastodon.social
:bird:@Fredowald
Show your support
Give a :star: if this project helped you!