summaryrefslogtreecommitdiff
path: root/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'log.h')
-rw-r--r--log.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/log.h b/log.h
index 1a0e88f..35942d3 100644
--- a/log.h
+++ b/log.h
@@ -17,7 +17,7 @@
/* all is logged into /var/log/syslog */
-bool CheckLevel(int level)
+inline bool CheckLevel(int level)
{
#ifdef DEBUG
if (cSetupEEPG::getInstance()->LogLevel >= level)
@@ -30,7 +30,7 @@ bool CheckLevel(int level)
return false;
}
-const char* PrepareLog(std::string message)
+inline const char* PrepareLog(std::string message)
{
message = "EEPG: " + message;
return message.c_str();
@@ -39,7 +39,7 @@ const char* PrepareLog(std::string message)
#define MAXSYSLOGBUF 256
//void LogVsyslog(int errLevel, const char * message, ...)
-void LogVsyslog(int errLevel, int const& lineNum, const char * function, const char * message, ...)
+inline void LogVsyslog(int errLevel, int const& lineNum, const char * function, const char * message, ...)
{
va_list ap;
char fmt[MAXSYSLOGBUF];