Add simple C logging framework.
5 unresolved threads
A pluggable logging framework for printf style logging. You can supply different logging backends by providing a simple logger_function when calling log_init(), e.g.:
log_init(log_fprintf_stdout);
All calls to LOG() are compiled out when ENABLE_LOGGING is not defined, and there is a logging_active() function to use as guard for expensive logging computations.
VideoLAN code repository instance
(Choosing a random line.) File doens't match style of rest of dav1d.