diff --git a/README.md b/README.md index 54cc31a..ac553f2 100644 --- a/README.md +++ b/README.md @@ -22,18 +22,15 @@ And much more to come... soon™! ## Quick Start ```rust -use rall::{SimpleLogger, Level}; - -// Create Default SimpleLogger -let mut logger = SimpleLogger::default(); +use rall::{debug, error, fatal, info, trace, warn}; // Log Out To Standard Output -logger.log(Level::TRACE, "My Best Friend Hazel :D"); -logger.log(Level::DEBUG, "My Best Friend Hazel :D"); -logger.log(Level::INFO, "My Best Friend Hazel :D"); -logger.log(Level::WARN, "My Best Friend Hazel :D"); -logger.log(Level::ERROR, "My Best Friend Hazel :D"); -logger.log(Level::FATAL, "My Best Friend Hazel :D"); +trace!("My Best Friend Hazel :D"); +debug!("My Best Friend Hazel :D"); +info!("My Best Friend Hazel :D"); +warn!("My Best Friend Hazel :D"); +error!("My Best Friend Hazel :D"); +fatal!("My Best Friend Hazel :D"); ``` ### Windows Output @@ -48,4 +45,4 @@ logger.log(Level::FATAL, "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. +instantly get started with. \ No newline at end of file diff --git a/images/unix_logs.png b/images/unix_logs.png index d354204..997abcb 100644 Binary files a/images/unix_logs.png and b/images/unix_logs.png differ diff --git a/images/windows_logs.png b/images/windows_logs.png index 0a5dce8..446fe9c 100644 Binary files a/images/windows_logs.png and b/images/windows_logs.png differ