tools:logger:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:logger:start [2020/11/26 13:04] – [Logging into the Console and into a File] ursgraf | tools:logger:start [2020/11/26 13:06] (current) – [Default LogWriter] ursgraf | ||
---|---|---|---|
Line 37: | Line 37: | ||
<code cpp> | <code cpp> | ||
- | | + | |
- | Logger::setDefaultWriter(&w); | + | |
- | Logger log; // this logger will output onto the default '' | + | |
</ | </ | ||
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.1606392286.txt.gz · Last modified: 2020/11/26 13:04 by ursgraf