summaryrefslogtreecommitdiffstats
path: root/common/eurephia_log.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/eurephia_log.c')
-rw-r--r--common/eurephia_log.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/eurephia_log.c b/common/eurephia_log.c
index ceff25f..baf63e7 100644
--- a/common/eurephia_log.c
+++ b/common/eurephia_log.c
@@ -161,7 +161,7 @@ pthread_mutex_t log_mutex = PTHREAD_MUTEX_INITIALIZER;
* @param log FILE pointer to a log file
* @param logdst Log destiation/priority
* @param loglvl Log level of the message
- * @param format stdarg, format string
+ * @param fmt stdarg, format string
* @param ap stdarg va_list, prepared by va_start()
*/
static void file_log(FILE *log, int logdst, int loglvl, const char *fmt, va_list ap) {
@@ -266,6 +266,8 @@ void eurephia_log_close(eurephiaCTX *ctx) {
* If it is "syslog:" it must continue with a string describing log facility such as
* "syslog:authpriv", "syslog:local0", "syslog:local1", "syslog:user", etc. If the
* facility is unknown, it will default to "user"
+ * @param loglevel Sets the verbosity level for the log file. The higher number, the more information
+ * will be logged.
*
* @return Returns 1 on success, otherwise 0;
*/