From e14c6bc3801be29eb5a64c813754b170a67d4956 Mon Sep 17 00:00:00 2001 From: justanothercatgirl Date: Sun, 2 Feb 2025 20:28:12 +0300 Subject: Added log header --- tests/log.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 tests/log.c (limited to 'tests') diff --git a/tests/log.c b/tests/log.c new file mode 100644 index 0000000..e4d1c1e --- /dev/null +++ b/tests/log.c @@ -0,0 +1,22 @@ +#include +#include +#include +#include + +void urmom() { + LERRV("This is error!"); + LERRV("How could this be!"); + LERRV("Impossible..."); +} + +int main() { + LDEBUGV("1st debug message"); + LDEBUGF("Formatted message: %i, %.2f", 69, 420.69696969); + LINFOVF("literally checking %s", "colors"); + open("/dev/asdjasfhkd", O_RDWR); + LWARNPV("open"); + write(696969696, "", 1203192391823); + LERRP("write"); + urmom(); + LCRIT(1, "This is considered critical"); +} -- cgit v1.2.3-70-g09d2