qnetdice

view src/logger.h @ 4:7d28bef3fbca

ops, forgot to add +1 to random numbers in roll.cc to make them 1-based
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 23 Dec 2013 17:40:34 +0200
parents
children
line source
1 #ifndef LOGGER_H_
2 #define LOGGER_H_
4 void set_log_file(FILE *fp);
5 void set_log_callback(void (*cb)(const char*, void*), void *cls);
7 void log_message(const char *msg, ...);
9 #endif // LOGGER_H_