mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2026-11-04 19:35:12 +00:00
The slog upstream repository no longer exists. The library only used slog_trace/slog_fatal and slog_init, so a small internal logger in src/log.c replaces it: printf-style, line-atomic output to stderr or to the file named by AARUFORMAT_LOG_FILE, runtime filtering through AARUFORMAT_LOG_LEVEL (trace, fatal, none), and lazy one-time initialization that also covers aaruf_create(). The CMake option is now AARU_ENABLE_LOGGING; USE_SLOG remains as a deprecated alias. log.h now includes inttypes.h, which several sources relied on slog.h to provide for PRIu64.