diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-07-23 19:39:13 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-07-23 19:39:26 +0200 |
| commit | 421300c27123ca647772dc6d9bd0cabf7f5f9c99 (patch) | |
| tree | d916b62056b2440aef374b21373d16272bb709ee /log.c | |
| parent | 53e9e371a16ae2d167f1fc2577dff2c2426eed68 (diff) | |
refactor: src & pragma once
Diffstat (limited to 'log.c')
| -rw-r--r-- | log.c | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -1,13 +0,0 @@ -#include "log.h" - -#include <stdio.h> - -#include "types.h" - -void info(Logger l, const byte *name, const byte *str, ...) { - if (l.level >= INFO) { - printf("[%s] ", name); - printf(str); - printf("\n"); - } -} |
