SA_Logger
Sapphire's Suite's C++ Logger.
|
Log RAII type implementation. More...
#include <SA/Logger/Preprocessors/LogMacro.hpp>
Go to the source code of this file.
Classes | |
class | SA::LogRAII |
Log RAII type implementation. Delays the log at the end of the scope. More... | |
Macros | |
#define | SA_LOG_RAII((_str, _args) , _lvl, _chan, _dets) |
Sapphire Log RAII macro. | |
Log RAII type implementation.
#define SA_LOG_RAII | ( | ) | , _lvl, _chan, _dets) |
Sapphire Log RAII macro.
Helper macro to use Logger with RAII system. Create log and wait for handle destroy to submit log to logger.
[in] | _str | String message of the log. Parentheses are optionnal for single string or object. |
[in] | _args | Arguments to insert in string using %<num>. Must add parentheses surrounding: (_str, _args). |
[in] | _lvl | Level of the log (optional). |
[in] | _chan | Channel of the log (optional). |
[in] | _dets | Details string of the log (optional). |