Crates.io | easy-logs |
lib.rs | easy-logs |
version | 0.1.4 |
source | src |
created_at | 2022-08-16 09:40:35.200024 |
updated_at | 2022-08-16 21:45:08.434681 |
description | A simple and lightweight rust logging library. |
homepage | https://zackbalbin.com/ |
repository | https://github.com/zackbalbin/easy-logs |
max_upload_size | |
id | 646532 |
size | 15,057 |
A simple and lightweight rust logging library.
use lib::Logger;
fn main() {
let mut logger: Logger = Logger::new();
logger.output_to_file(None);
logger.info("Hello, world!");
logger.warn("Hello, world!");
logger.error("Hello, world!");
logger.debug("Hello, world!");
}
use lib::Logger;
fn main() {
let logger: Logger = Logger::new();
logger.info("Hello, world!");
logger.warn("Hello, world!");
logger.error("Hello, world!");
logger.debug("Hello, world!");
}