Translation update done using Pootle.
[gammu.git] / smsd / log.h
blob3d0c7ddcaaecdd57ced7a7363c5b59a3b05cf1a4
1 /* (c) 2002-2004 by Marcin Wiacek and Joergen Thomsen */
3 #ifndef __log_h_
4 #define __log_h_
6 #include <gammu-smsd.h>
8 /**
9 * Logs a message to SMSD log.
11 * \param level Importance level, 0 is an important message,
12 * 1,2,4,... are debug information which can be disabled in smsdrc.
13 * -1 is a critical error message
14 * \param format printf like format string.
16 PRINTF_STYLE(3, 4)
17 void SMSD_Log(int level, GSM_SMSDConfig *Config, const char *format, ...);
19 /**
20 * Logs a message to SMSD log with description of OS specific error code.
22 void SMSD_LogErrno(GSM_SMSDConfig *Config, const char *message);
24 #endif
26 /* How should editor hadle tabs in this file? Add editor commands here.
27 * vim: noexpandtab sw=8 ts=8 sts=8: