21 #ifndef SELKIELoggerBase_Logging
22 #define SELKIELoggerBase_Logging
56 __attribute__((format(__printf__, 3, 4)));
void destroy_program_state(program_state *s)
Cleanly destroy program state.
FILE * openSerialNumberedFile(const char *prefix, const char *extension, char **name)
Open dated, serial numbered file with given prefix and extension.
void log_info(const program_state *s, const int level, const char *format,...)
Output formatted information message at a given level.
void log_warning(const program_state *s, const char *format,...)
Output formatted warning message.
void log_error(const program_state *s, const char *format,...)
Output formatted error message.
Program state and logging information.
int logverbose
Current log verbosity (file output)
int verbose
Current log verbosity (console output)
bool started
Indicates startup completed.
bool shutdown
Indicates shutdown begun.