twink

Crates.iotwink
lib.rstwink
version1.1.3
sourcesrc
created_at2023-06-13 14:43:26.095424
updated_at2023-12-23 03:54:50.412106
descriptionsilly litl logger for kitties
homepage
repositoryhttps://codeberg.org/twink/twink
max_upload_size
id889058
size27,621
fawn (fawni)

documentation

README

twink

silly litl logger for kitties

status-badge crates.io crates.io

  /l、
(゚、 。 7
  l、 ~ヽ
  じしf_,)ノ

usage

[dependencies]
twink = "1.1.0"
twink::purr!("good job!!!")

lso checkout the example

timestamps

to print timestamps next to logs enable the feature flag corresponding to your format preference

12 hour (am/pm)

twink = { version = "1.1.0", features = ["12-hour"] }

24 hour

twink = { version = "1.1.0", features = ["24-hour"] }

log

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)

license

Apache-2.0

Commit count: 0

cargo fmt