mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-01 04:17:02 -05:00
Add a new informational error level for messages
This commit is contained in:
parent
b7dcf8659e
commit
af0b3c8451
4 changed files with 51 additions and 13 deletions
|
|
@ -105,6 +105,15 @@ void log_fatal(int err, const char* format, ...) __attribute__((format(attribute
|
|||
*/
|
||||
void log_error(int err, const char* format, ...) __attribute__((format(attribute_printf, 2, 3)));
|
||||
|
||||
/**
|
||||
* Informational messages.
|
||||
*
|
||||
* Messages reporting general status information or warnings that do not indicate failure.
|
||||
*
|
||||
* These messages go in the log file if specified, otherwise they go in stderr.
|
||||
*/
|
||||
void log_info(int err, const char* format, ...) __attribute__((format(attribute_printf, 2, 3)));
|
||||
|
||||
/**
|
||||
* Expected error messages, without fallback to stderr.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue