From 3168464396f4d225615e89a3cdb0f9508dee8374 Mon Sep 17 00:00:00 2001 From: Hamothy <58985301+sgoudham@users.noreply.github.com> Date: Sat, 2 Apr 2022 01:10:28 +0100 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 079ba35..1aabf65 100644 --- a/README.md +++ b/README.md @@ -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) [![downloads](https://img.shields.io/crates/d/rall)](https://crates.io/crates/rall) [![license](https://img.shields.io/github/license/sgoudham/rall)](LICENSE) @@ -22,10 +22,10 @@ And much more to come... soon™! ## Quick Start ```rust -use rall::SimpleLogger; +use rall::{SimpleLogger, Level}; // Create Default SimpleLogger -let mut simple_logger = SimpleLogger::default(); +let mut logger = SimpleLogger::default(); // Log Out To Standard Output 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 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. \ No newline at end of file +instantly get started with.