|
PcapPlusPlus
Next
|
#include <Logger.h>
Public Member Functions | |
| constexpr | LogSource ()=default |
| Default constructor for LogSource. | |
| constexpr | LogSource (LogModule logModule) |
| constexpr | LogSource (LogModule logModule, const char *file, const char *function, int line) |
Public Attributes | |
| const char * | file = nullptr |
| const char * | function = nullptr |
| int | line = 0 |
| LogModule | logModule = UndefinedLogModule |
Represents the source of a log message. Contains information about the source file, function, line number, and the log module.
|
inlineexplicitconstexpr |
Constructor for LogSource with only the log module.
| logModule | The log module. |
|
inlineconstexpr |
Constructor for LogSource with all parameters.
| logModule | The log module. |
| file | The source file. |
| function | The source function. |
| line | The line number. |
| const char* pcpp::LogSource::file = nullptr |
The source file.
| const char* pcpp::LogSource::function = nullptr |
The source function.
| int pcpp::LogSource::line = 0 |
The line number.
| LogModule pcpp::LogSource::logModule = UndefinedLogModule |
The log module.