summaryrefslogtreecommitdiff
path: root/sd_daemon/logger/logger.go
diff options
context:
space:
mode:
Diffstat (limited to 'sd_daemon/logger/logger.go')
-rw-r--r--sd_daemon/logger/logger.go10
1 files changed, 9 insertions, 1 deletions
diff --git a/sd_daemon/logger/logger.go b/sd_daemon/logger/logger.go
index c15475a..005b193 100644
--- a/sd_daemon/logger/logger.go
+++ b/sd_daemon/logger/logger.go
@@ -21,7 +21,15 @@ import (
"os"
)
-//#include <systemd/sd-daemon.h>
+///*#include <systemd/sd-daemon.h>*/
+//#define SD_EMERG "<0>"
+//#define SD_ALERT "<1>"
+//#define SD_CRIT "<2>"
+//#define SD_ERR "<3>"
+//#define SD_WARNING "<4>"
+//#define SD_NOTICE "<5>"
+//#define SD_INFO "<6>"
+//#define SD_DEBUG "<7>"
import "C"
func log(level string, format string, a ...interface{}) {