|
fsautoproc
Basic file transformation automation management utility
|
Logging macros for the application. More...

Go to the source code of this file.
Macros | |
| #define | LOG_FILE_MACRO __FILE__ |
The file name macro used in log messages. Value varies depending on the availability of the shorter __FILE_NAME__ macro. | |
| #define | log_info(fmt, ...) printf(fmt " \n", __VA_ARGS__) |
| Log an informational message. | |
| #define | log_verbose(fmt, ...) printf(fmt " \n", __VA_ARGS__) |
| Log a verbose message. The caller is responsible for checking the verbose flag before calling this macro. | |
| #define | log_error(fmt, ...) |
| Log an error message to stderr. This will not terminate the program. | |
Logging macros for the application.
| #define log_error | ( | fmt, | |
| ... | |||
| ) |
Log an error message to stderr. This will not terminate the program.
| #define LOG_FILE_MACRO __FILE__ |
The file name macro used in log messages. Value varies depending on the availability of the shorter __FILE_NAME__ macro.
| #define log_info | ( | fmt, | |
| ... | |||
| ) | printf(fmt " \n", __VA_ARGS__) |
Log an informational message.
| #define log_verbose | ( | fmt, | |
| ... | |||
| ) | printf(fmt " \n", __VA_ARGS__) |
Log a verbose message. The caller is responsible for checking the verbose flag before calling this macro.