4 // Functions for common logging to file and syslog.
14 void add_log_destination_file(const std::string &filename);
15 void add_log_destination_console();
16 void add_log_destination_syslog();
19 void shut_down_logging();
21 void log(LogLevel log_level, const char *fmt, ...);
22 void log_perror(const char *msg);
24 #endif // !defined(_LOG_H)