Crates.io | simple_color_log |
lib.rs | simple_color_log |
version | 0.1.1 |
source | src |
created_at | 2024-09-03 19:14:10.971222 |
updated_at | 2024-09-04 05:08:55.470032 |
description | A simple color log library for Rust |
homepage | |
repository | https://github.com/goldensansapple/simple_color_log |
max_upload_size | |
id | 1361956 |
size | 9,005 |
This is a simple logger that uses standard log levels and prints the file name, line number, and timestamp for each log message. The log levels are as follows:
The logger's level is set through the feature flags. These are the allowed feature flags:
error
warn
info
debug
trace
The logger will only print messages that are at or above the level set by the feature flag. The default level is info
.