logsnag-0.2.0 has been yanked.
A Logsnag API Wrapper for Rust
logsnag is a simple and efficient Rust library for interacting with the Logsnag API. It supports asynchronous requests and allows easy publication of logs and insights.
Features
- Publish logs to channels with specified event, optional description, icon, and notify flag
- Publish insights with a specified title, event, value, and an optional icon
Getting Started
First, add logsnag to your Cargo.toml:
[]
= "0.2.0"
Then, import it in your file(s).
use Logsnag;
use InsightValue; //Only required for Insights
Usage
Here is a basic example of how to use the Logsnag client:
use Logsnag;
use InsightValue;
async
See the API Documentation for more details.
Contributing
Please feel free to submit issues, fork the repository and send pull requests!
Any questions, you can find me (rhh4x0r) on the Official Logsnag Discord Server or submit an issue.