mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 10:57:07 +00:00
Add logging statements
This commit is contained in:
@@ -91,6 +91,8 @@ function parseMessages (buffer, formats = [ "hydronav", "labo", "smartsource" ])
|
||||
return navData;
|
||||
}
|
||||
|
||||
INFO("Dougal real-time starting…");
|
||||
|
||||
for (const header of (cfg._("global.navigation.headers") || []).filter(h => h.type == "udp")) {
|
||||
const server = dgram.createSocket('udp4');
|
||||
|
||||
@@ -122,3 +124,5 @@ for (const header of (cfg._("global.navigation.headers") || []).filter(h => h.ty
|
||||
|
||||
server.bind(header.port);
|
||||
}
|
||||
|
||||
INFO("Dougal real-time interface quitting");
|
||||
|
||||
Reference in New Issue
Block a user