diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-11-08 19:41:28 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-11-08 19:41:28 +0300 |
commit | d5245634c224c7169634ce4c34e800447f426c87 (patch) | |
tree | 73a40428811ab644687dd5fe35aac03df8b52ac2 /src/include/microhttpd.h | |
parent | 2636c2090dc7bfceda3cc3541d6ef2133e18de5d (diff) | |
download | libmicrohttpd-d5245634c224c7169634ce4c34e800447f426c87.tar.gz libmicrohttpd-d5245634c224c7169634ce4c34e800447f426c87.zip |
Added MHD_USE_ERROR_LOG flag with same value as MHD_USE_DEBUG.
New name better explains flag actions.
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r-- | src/include/microhttpd.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index 535a2d51..0f3e4873 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h | |||
@@ -533,6 +533,13 @@ enum MHD_FLAG | |||
533 | MHD_NO_FLAG = 0, | 533 | MHD_NO_FLAG = 0, |
534 | 534 | ||
535 | /** | 535 | /** |
536 | * Print errors messages to custom error logger or to `stderr` if | ||
537 | * custom error logger is not set. | ||
538 | * @sa ::MHD_OPTION_EXTERNAL_LOGGER | ||
539 | */ | ||
540 | MHD_USE_ERROR_LOG = 1, | ||
541 | |||
542 | /** | ||
536 | * Run in debug mode. If this flag is used, the library should | 543 | * Run in debug mode. If this flag is used, the library should |
537 | * print error messages and warnings to `stderr`. | 544 | * print error messages and warnings to `stderr`. |
538 | */ | 545 | */ |