|
Dumb-ways-to-memorize
2D game
|
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | slog(...) _slog(__FILE__,__LINE__,__VA_ARGS__) |
| logs a message to stdout and to the configured log file More... | |
Functions | |
| void | init_logger (const char *log_file_path) |
| initializes the simple logger. Will automatically cleanup at program exit. More... | |
| void | _slog (char *f, int l, char *msg,...) |
| #define slog | ( | ... | ) | _slog(__FILE__,__LINE__,__VA_ARGS__) |
logs a message to stdout and to the configured log file
| msg | a string with tokens |
| ... | variables to be put into the tokens. |
Definition at line 36 of file simple_logger.h.
| void _slog | ( | char * | f, |
| int | l, | ||
| char * | msg, | ||
| ... | |||
| ) |
| void init_logger | ( | const char * | log_file_path | ) |
initializes the simple logger. Will automatically cleanup at program exit.
simple_logger The MIT License (MIT)
| log_file_path | the file to log to |
Definition at line 17 of file simple_logger.c.
References __log_file, and close_logger().
1.8.11