Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arthurmelton/log4rust
https://github.com/arthurmelton/log4rust
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/arthurmelton/log4rust
- Owner: arthurmelton
- License: mit
- Created: 2022-09-15T15:57:38.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-02-03T18:04:13.000Z (almost 2 years ago)
- Last Synced: 2024-12-09T09:08:59.165Z (about 1 month ago)
- Language: Rust
- Size: 27.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Log4rust
A logging system for rust that is trying to be as easy as possibale to impliment
## Example
```rs
fn main() {
log4rust::new().save().unwrap();
// this could be in a new thread or anywhere in your code
info!("This is some info");
warn!("This is a warning");
error!("This is an error");
fatal!("This is something fatal");
}
```You can also look in the exmaples folder to see how to do some other things
Crate: [https://crates.io/crates/log4rust](https://crates.io/crates/log4rust)
Docs: [https://docs.rs/log4rust](https://docs.rs/log4rust)