|
|
#define | INTELLI_INFO(n) IntelliLog::log("INFO",n) |
| | (Macro) To log something as information
|
| |
|
#define | INTELLI_ERROR(n) IntelliLog::log("ERROR",n) |
| | (Macro) To log something as error
|
| |
|
#define | INTELLI_WARNING(n) IntelliLog::log("WARNING",n) |
| |
|
#define | INTELLI_DEBUG(n) IntelliLog::log("DEBUG",n) |
| | (Macro) To log something as debug
|
| |
This package is used for logging
◆ appendLogFile()
| void INTELLI::IntelliLog_FileProtector::appendLogFile |
( |
string |
msg | ) |
|
|
inline |
try to appened something to the file, if it's opened
- Parameters
-
| msg | The message to appened |
◆ log()
| void INTELLI::IntelliLog::log |
( |
std::string |
level, |
|
|
std::string_view |
message, |
|
|
std::source_location const |
source = std::source_location::current() |
|
) |
| |
|
static |
Produce a log.
- Parameters
-
| level | The log level you want to indicate |
| message | The log message you want to indicate |
| source | reserved |
- Note
- message is automatically appended with a "\n"
◆ openLogFile()
| void INTELLI::IntelliLog_FileProtector::openLogFile |
( |
string |
fname | ) |
|
|
inline |
try to open a file
- Parameters
-
◆ setupLoggingFile()
| void INTELLI::IntelliLog::setupLoggingFile |
( |
string |
fname | ) |
|
|
static |
set up the logging file by its name
- Parameters
-