/** * Contains the logging framework used for logging errors during compilation. */ #ifndef LOG_H #define LOG_H /** * A method that can log an error. */ typedef void LogError(const char* msg); /** * Sets the destination for log errors. */ void log_set_output(LogError* destination); /** * Logs an error to the destination. */ void log_error(const char* msg); #endif