User Tools

Site Tools


tools:logger:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
tools:logger:start [2026/04/13 11:10] – [Adding Output to the SysLog] ursgraftools:logger:start [2026/04/13 11:12] (current) – [Adding Output to the SysLog] ursgraf
Line 69: Line 69:
   multi->add(std::make_shared<SysLogWriter>("myLog"));   multi->add(std::make_shared<SysLogWriter>("myLog"));
   Logger::setDefaultWriter(multi);   Logger::setDefaultWriter(multi);
 +</code>
 +
 +View the produced log entries in the system log with 
 +<code bash>
 +$ journalctl -t myLog
 </code> </code>
tools/logger/start.txt · Last modified: 2026/04/13 11:12 by ursgraf