Skip to content

CodingMatthew009/RustyLogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rustylog

Simple logging utility implemented in Rust for Rust. Thread safe implementation, loggers can be moved or created in threads, file and stdout output will not be corrupted!

Compiling the test may be done using bash cargo run or if you have Odin installed bash odin build

Download

Easiest is to just copy Rustylog.rs and paste it into your project.

Usage

Writer::Init(); // Very important to execute before creating any loggers

let mut myLogger = Logger::new("Main");

myLogger.info("Logger created!");

Writer::clean_up(); // Not always needed but not doing it can lead to missing log msgs.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors