Sese Framework  2.3.0
A cross-platform framework
Loading...
Searching...
No Matches
Marco.h File Reference

Log macros. More...

Go to the source code of this file.

Macros

#define SESE_RAW(buffer, length)    sese::record::getLogger()->dump(buffer, length)
 
#define SESE_EXCEPT(e)   e.printStacktrace(sese::record::getLogger())
 
#define SESE_DEBUG(sese_tmp_format, ...)    sese::record::Logger::debug(sese_tmp_format, ##__VA_ARGS__)
 
#define SESE_INFO(sese_tmp_format, ...)    sese::record::Logger::info(sese_tmp_format, ##__VA_ARGS__)
 
#define SESE_WARN(sese_tmp_format, ...)    sese::record::Logger::warn(sese_tmp_format, ##__VA_ARGS__)
 
#define SESE_ERROR(sese_tmp_format, ...)    sese::record::Logger::error(sese_tmp_format, ##__VA_ARGS__)
 

Detailed Description

Log macros.

Author
kaoru
Version
0.1
Date
September 13, 2023

Macro Definition Documentation

◆ SESE_DEBUG

#define SESE_DEBUG ( sese_tmp_format,
... )    sese::record::Logger::debug(sese_tmp_format, ##__VA_ARGS__)

◆ SESE_ERROR

#define SESE_ERROR ( sese_tmp_format,
... )    sese::record::Logger::error(sese_tmp_format, ##__VA_ARGS__)

◆ SESE_EXCEPT

#define SESE_EXCEPT ( e)    e.printStacktrace(sese::record::getLogger())

◆ SESE_INFO

#define SESE_INFO ( sese_tmp_format,
... )    sese::record::Logger::info(sese_tmp_format, ##__VA_ARGS__)

◆ SESE_RAW

#define SESE_RAW ( buffer,
length )    sese::record::getLogger()->dump(buffer, length)

◆ SESE_WARN

#define SESE_WARN ( sese_tmp_format,
... )    sese::record::Logger::warn(sese_tmp_format, ##__VA_ARGS__)