7 releases (stable)

1.1.3 Dec 23, 2023
1.1.2 Oct 23, 2023
1.1.0 Aug 19, 2023
0.1.1 Jun 15, 2023

#2 in #silly

Download history 6/week @ 2024-02-18 22/week @ 2024-02-25 8/week @ 2024-03-03 10/week @ 2024-03-10 13/week @ 2024-03-17 1/week @ 2024-03-24 110/week @ 2024-03-31

136 downloads per month

Apache-2.0

10KB
113 lines

twink

silly litl logger for kitties

status-badge crates.io crates.io

  /l、
(゚、 。 
  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

Dependencies

~0.3–1.1MB
~24K SLoC