Better priorities & LOG_UPTO for syslog.h
* Fix PERROR to match musl/glibc better * More unit tests + enabled on Linux * Pack priority and facility into one i32 and check the bits with bitflags * Add LOG_UPTO (logic is straight from musl) Not done: * "%m" - this could just be added to printf * LOG_CONS
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
#ifndef _BITS_SYSLOG_H
|
||||
#define _BITS_SYSLOG_H
|
||||
|
||||
#define LOG_MASK(pri) (1<<(pri))
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user