add rudimentary unit tests, and logging timestamps
Signed-off-by: Aidan Hahn <aidan@aidanis.online>
This commit is contained in:
parent
7fafcd344d
commit
1e9b701542
6 changed files with 188 additions and 37 deletions
2
alog.h
2
alog.h
|
|
@ -71,6 +71,8 @@ void deinit_alog();
|
|||
|
||||
/* adds an fd to out fds or (iff char arg is set to 0x01) err fds */
|
||||
void alog_add_target(int, char);
|
||||
#define ALOG_OUT 0x00
|
||||
#define ALOG_ERR 0x01
|
||||
|
||||
/* removes an fd from both out fds and err fds */
|
||||
void alog_remove_target(int);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue