diff options
| author | iamcheeseman <[email protected]> | 2026-05-10 00:28:14 -0400 |
|---|---|---|
| committer | iamcheeseman <[email protected]> | 2026-05-10 00:28:14 -0400 |
| commit | 576bd27e11ec70bdbd1b9a644d2e227b57586337 (patch) | |
| tree | 2dc41e3f88bb95568f73ee372fc35512afcbcf9b /teensy/log.c | |
| parent | 9ed5698b3c74c7ce1784d3bebe2aa73d5a0c319d (diff) | |
i ain't splitting alla this up
Diffstat (limited to 'teensy/log.c')
| -rw-r--r-- | teensy/log.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/teensy/log.c b/teensy/log.c deleted file mode 100644 index fbd96a2..0000000 --- a/teensy/log.c +++ /dev/null @@ -1,33 +0,0 @@ -#include "log.h" - -#include <stdarg.h> - -#include "common.h" - -void ty_log_msg( - FILE *file, - const char *src_name, - int src_line, - const char *type, - const char *fmt, - ... -) -{ - fprintf(file, "[%s] (%s:%d) ", type, src_name, src_line); - - va_list args; - va_start(args, fmt); - vfprintf(file, fmt, args); - va_end(args); - - putc('\n', file); -} - -void _ty_log_plain(FILE *file, const char *fmt, ...) -{ - va_list args; - va_start(args, fmt); - vfprintf(file, fmt, args); - va_end(args); - putc('\n', file); -} |
