Add another very simple log destination-- fprintf to stderr

This commit is contained in:
John Hood 2024-03-14 23:58:13 -04:00
parent d8b3df77ec
commit ebaba89e11

View File

@ -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) {