You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add some function-like macros for log/warn/both
WARN_AND_LOG() is like fprintf_color() then log_event(), with same message.
WARN_ONCE() is like fprintf_color() but only once per session.
LOG_ONCE() is like log_event() but only once per session.
WARN_AND_LOG_ONCE() does both, with same message.
Also add error color to error(), pexit() and similar stuff in misc.c
0 commit comments