Skip to content

Save the log

Jörg Neumann edited this page Jan 14, 2022 · 3 revisions

The add_*-methods of the log writer will add messages to the buffer.
Calling the save-method will actually write them to the database.

logger->save( token ).

As it should be the decision of the logs owner (see: Central Concepts -> Loggers have owners), if and how often the log will be saved, the token is needed to execute that method.

Clone this wiki locally