mirror of
https://github.com/javalsai/lidm.git
synced 2025-08-31 02:18:00 +02:00
debug: add a logging module
This commit is contained in:
12
include/log.h
Normal file
12
include/log.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef LOGH_
|
||||
#define LOGH_
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
void log_init(FILE* fd);
|
||||
void log_puts(const char* msg);
|
||||
void log_printf(const char* fmt, ...);
|
||||
// NOLINTNEXTLINE(readability-identifier-length)
|
||||
void log_perror(const char* s);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user