Update README.md

pull/3/head
Hamothy 3 years ago committed by GitHub
parent 68c86b6578
commit 3168464396
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,4 +1,4 @@
[![build](https://github.com/sgoudham/rall/actions/workflows/build.yml/badge.svg)](https://github.com/sgoudham/rall/actions/workflows/build.yml) [![build](https://github.com/sgoudham/rall/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/sgoudham/rall/actions/workflows/build.yml)
[![crate.io](https://img.shields.io/crates/v/rall)](https://crates.io/crates/rall) [![crate.io](https://img.shields.io/crates/v/rall)](https://crates.io/crates/rall)
[![downloads](https://img.shields.io/crates/d/rall)](https://crates.io/crates/rall) [![downloads](https://img.shields.io/crates/d/rall)](https://crates.io/crates/rall)
[![license](https://img.shields.io/github/license/sgoudham/rall)](LICENSE) [![license](https://img.shields.io/github/license/sgoudham/rall)](LICENSE)
@ -22,10 +22,10 @@ And much more to come... soon™!
## Quick Start ## Quick Start
```rust ```rust
use rall::SimpleLogger; use rall::{SimpleLogger, Level};
// Create Default SimpleLogger // Create Default SimpleLogger
let mut simple_logger = SimpleLogger::default(); let mut logger = SimpleLogger::default();
// Log Out To Standard Output // Log Out To Standard Output
logger.log(Level::TRACE, "My Best Friend Hazel :D"); logger.log(Level::TRACE, "My Best Friend Hazel :D");
@ -48,4 +48,4 @@ logger.log(Level::CRITICAL, "My Best Friend Hazel :D");
I'm still incredibly early in my Rust journey and so I wanted to get comfortable and try to pick my own brain about I'm still incredibly early in my Rust journey and so I wanted to get comfortable and try to pick my own brain about
exposing different API's in a Rust crate. I hope to expose an intuitive and easy to understand API design that users can exposing different API's in a Rust crate. I hope to expose an intuitive and easy to understand API design that users can
instantly get started with. instantly get started with.

Loading…
Cancel
Save