Crates.io | twink |
lib.rs | twink |
version | 1.1.3 |
source | src |
created_at | 2023-06-13 14:43:26.095424 |
updated_at | 2023-12-23 03:54:50.412106 |
description | silly litl logger for kitties |
homepage | |
repository | https://codeberg.org/twink/twink |
max_upload_size | |
id | 889058 |
size | 27,621 |
silly litl logger for kitties
/l、
(゚、 。 7
l、 ~ヽ
じしf_,)ノ
[dependencies]
twink = "1.1.0"
twink::purr!("good job!!!")
lso checkout the example
to print timestamps next to logs enable the feature flag corresponding to your format preference
twink = { version = "1.1.0", features = ["12-hour"] }
twink = { version = "1.1.0", features = ["24-hour"] }
twink can also be used as an interface for the log crate
twink = { version = "1.1.0", features = ["log"] }
twink::log::setup();
log::info!("hiya");
(setup_level
may be used instead to set a filter other than Info
)