Go to the source code of this file.
Macros | |
| #define | BY_E(fmt, ...) ::by::richLog(::by::errLv::ERR, __FILENAME__, __func__, __LINE__, fmt "\n", ##__VA_ARGS__) |
| Log macro: prints debug log on console and file. More... | |
| #define | BY_W(fmt, ...) ::by::richLog(::by::errLv::WARN, __FILENAME__, __func__, __LINE__, fmt "\n", ##__VA_ARGS__) |
| #define | BY_I(fmt, ...) ::by::richLog(::by::errLv::INFO, __FILENAME__, __func__, __LINE__, fmt "\n", ##__VA_ARGS__) |
| #define | BY_DE(fmt, ...) void() |
| #define | BY_DW(fmt, ...) void() |
| #define | BY_DI(fmt, ...) void() |
| #define | BY_SIDE_FUNC_3(paramPtr, expr, ret) { return paramPtr ? expr : ret; } |
Log macro definitions for byeol language logging system
| #define BY_E | ( | fmt, | |
| ... | |||
| ) | ::by::richLog(::by::errLv::ERR, __FILENAME__, __func__, __LINE__, fmt "\n", ##__VA_ARGS__) |
Log macro: prints debug log on console and file.
You can check the file recorded logs at your current work directory named to "logs".
If you dbg version macros, _DI, _DE, _DW, then log msg will be left only if you use dbg configuration.