Add position field and proper logging configuration

This commit is contained in:
2025-07-24 12:13:16 +02:00
parent 31d30c6db3
commit 5ec9319b3f
4 changed files with 17 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ class Reactor {
constructor(config) {
this.config = config;
// EVOLV stuff
this.logger = new logger(undefined, undefined, config.general.name);
this.logger = new logger(this.config.general.logging.enabled, this.config.general.logging.logLevel, config.general.name);
this.emitter = new EventEmitter();
this.measurements = new MeasurementContainer();
this.upstreamReactor = null;