summaryrefslogtreecommitdiffstats
path: root/mmss/monitor_log.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mmss/monitor_log.cpp')
-rw-r--r--mmss/monitor_log.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/mmss/monitor_log.cpp b/mmss/monitor_log.cpp
index bbb56a4..9a21e03 100644
--- a/mmss/monitor_log.cpp
+++ b/mmss/monitor_log.cpp
@@ -32,12 +32,19 @@
namespace MMSS {
void monitor_log_t::handle_log(node_t *node, int priority, const std::string &message) {
- node->get_context()->logf(priority, "%s: %s", node->get_name().c_str(), message.c_str());
+ if (priority < LOG_DEBUG)
+ node->get_context()->logf(priority, "%s: %s", node->get_name().c_str(), message.c_str());
}
void monitor_log_t::handle_init(node_t *node UNUSED, const uint8_t *node_id UNUSED, size_t len UNUSED) {
}
+void monitor_log_t::handle_network(network_t *net UNUSED) {
+}
+
+void monitor_log_t::handle_iface(node_t *node UNUSED, iface_t *iface UNUSED) {
+}
+
void monitor_log_t::handle_neigh(node_t *node UNUSED, iface_t *iface UNUSED, const gmrf_addr_t *addr UNUSED, float rxcost UNUSED, float txcost UNUSED) {
}