Commit Graph

5 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult 29d0ceb2d6 os: log: add syslog support
Add support for logging to syslog.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-04-10 10:49:23 +00:00
Enrico Weigelt, metux IT consult f379affc25 os: unexport internal logging functions
Lots of logging functions, especially init and teardown aren't called
by any drivers/modules, so no need to keep them exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-04-10 10:49:23 +00:00
Enrico Weigelt, metux IT consult e203a6c57d os: direct access to logFileVerbosity
No need for complicated 'generic' setter, just make the variable
itself available to DDX'es.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-04-10 10:49:23 +00:00
Enrico Weigelt, metux IT consult 3640a33077 os: direct access to logVerbosity
No need for complicated 'generic' setter, just make the variable
itself available to DDX'es.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-04-10 10:49:23 +00:00
Enrico Weigelt, metux IT consult 4fa8b1658b os: direct access to logSync instead of complex LogSetParameter()
It's just a simple flag, and only written from one site, so no need
for complex 'generic' setter function.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-04-10 10:49:23 +00:00