Logfather
A simple, lightweight, and easy-to-use logging system. It allows for detailed log messages, configurable output levels, and supports both file and terminal output.
Features
- Easy to set up and use
- Supports logging to both the terminal and log files
- Customizable log message format
- Configurable log levels (Info, Debug, Warning, Error, and Critical)
- Configurable level display
- Thread-safe
Getting Started
To start using Logfather, add the following to your Cargo.toml:
[]
= "0.2.1"
- Minimum supported Rust version:
1.63.0
Usage
Quick setup for outputting to terminal:
use *;
Setting up for only file output with specific error levels to be written:
use *;
Set up for both terminal and file output capturing every level except warning
use *;
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
._. why would you do this?