Syslog: Send dynamic headers based on log level of the message

The code part regarding overflow was also removed as the write method 1 in any case. Different handling regarding line break etc. in one message was also removed as the function is called only containing one log line from MessageOutput.
This commit is contained in:
Thomas Basler
2025-04-19 15:14:12 +02:00
parent 633d9b9802
commit 030df8b715
2 changed files with 29 additions and 10 deletions

View File

@@ -19,6 +19,7 @@ private:
bool isResolved() const {
return _address != INADDR_NONE;
}
static uint8_t calculatePrival(uint8_t facility, char errorCode);
Task _loopTask;
std::mutex _mutex;