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 [2020/11/26 13:05] – [Default LogWriter] ursgraftools:logger:start [2020/11/26 13:06] (current) – [Default LogWriter] ursgraf
Line 38: Line 38:
 <code cpp> <code cpp>
   Logger::setDefaultStreamLogger(std::cout);   Logger::setDefaultStreamLogger(std::cout);
-  Logger log;  // this logger will output onto the default ''LogWriter''.+  Logger log = Logger::getLogger();  // this logger will output onto the default ''LogWriter''.
 </code> </code>
 If you forget to assign a default logger, you will not get logging information from components of the library such as the safety system or the executor. If you forget to assign a default logger, you will not get logging information from components of the library such as the safety system or the executor.
tools/logger/start.1606392337.txt.gz · Last modified: 2020/11/26 13:05 by ursgraf