SELKIELogger  1.0.0
#include <stdarg.h>
#include <stdbool.h>
#include <stdio.h>
Include dependency graph for logging.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  program_state
 Program state and logging information. More...
 

Functions

void log_error (const program_state *s, const char *format,...)
 Output formatted error message. More...
 
void log_warning (const program_state *s, const char *format,...)
 Output formatted warning message. More...
 
void log_info (const program_state *s, const int level, const char *format,...)
 Output formatted information message at a given level. More...
 
FILE * openSerialNumberedFile (const char *prefix, const char *extension, char **name)
 Open dated, serial numbered file with given prefix and extension. More...
 
void destroy_program_state (program_state *s)
 Cleanly destroy program state. More...
 

Detailed Description

Output logging and file handling functions

Definition in file logging.h.