mirror of
https://github.com/ish-app/ish.git
synced 2026-02-01 14:32:26 +00:00
Add another very simple log destination-- fprintf to stderr
This commit is contained in:
parent
d8b3df77ec
commit
ebaba89e11
@ -154,6 +154,10 @@ static void log_line(const char *line) {
|
||||
static void log_line(const char *line) {
|
||||
os_log_fault(OS_LOG_DEFAULT, "%s", line);
|
||||
}
|
||||
#elif LOG_HANDLER_STDERR
|
||||
static void log_line(const char *line) {
|
||||
fprintf(stderr, "%s\n", line);
|
||||
}
|
||||
#endif
|
||||
|
||||
static void default_die_handler(const char *msg) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user