summaryrefslogtreecommitdiffstats
path: root/common/eurephia_log.c
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2009-09-24 00:40:24 +0200
committerDavid Sommerseth <dazo@users.sourceforge.net>2009-09-24 00:40:24 +0200
commit1a64e64694faba6783b1d05a193019f1ec241645 (patch)
tree18701b96d1c1c5aefb346961494af1422592191d /common/eurephia_log.c
parent7ae9a74c9c3bdab619ac5c0cefe1c8269bb06603 (diff)
downloadeurephia-1a64e64694faba6783b1d05a193019f1ec241645.tar.gz
eurephia-1a64e64694faba6783b1d05a193019f1ec241645.tar.xz
eurephia-1a64e64694faba6783b1d05a193019f1ec241645.zip
Added missing header file and corrected doxygen errors
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;
*/