aboutsummaryrefslogtreecommitdiffstats
path: root/src/DabMod.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2023-07-19 22:12:18 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2023-07-19 22:12:18 +0200
commit343df6eb8792b3efd33f4426766865ae03ccf316 (patch)
treeb2c05c7adb4774a88d15a46ae040c3428194ed64 /src/DabMod.cpp
parentd521d4f0c5ad3b663a322453c5798626081cb1f3 (diff)
downloaddabmod-343df6eb8792b3efd33f4426766865ae03ccf316.tar.gz
dabmod-343df6eb8792b3efd33f4426766865ae03ccf316.tar.bz2
dabmod-343df6eb8792b3efd33f4426766865ae03ccf316.zip
Add events
Diffstat (limited to 'src/DabMod.cpp')
-rw-r--r--src/DabMod.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/DabMod.cpp b/src/DabMod.cpp
index 805fab5..fdd9e93 100644
--- a/src/DabMod.cpp
+++ b/src/DabMod.cpp
@@ -47,6 +47,7 @@
# include <netinet/in.h>
#endif
+#include "Events.h"
#include "Utils.h"
#include "Log.h"
#include "DabModulator.h"
@@ -324,6 +325,8 @@ int launch_modulator(int argc, char* argv[])
mod_settings_t mod_settings;
parse_args(argc, argv, mod_settings);
+ etiLog.register_backend(make_shared<LogToEventSender>());
+
etiLog.level(info) << "Configuration parsed. Starting up version " <<
#if defined(GITVERSION)
GITVERSION;