DataDirector API
|
Simple container for log entries. More...
#include <DDD_Log.h>
Public Types | |
enum | LogLevel |
Public Member Functions | |
DDD_LogEntry (const std::string &entryStr, LogLevel level=LOG_INFO) | |
LogLevel | Level () const |
std::string | EntryStr () const |
Static Public Member Functions | |
static const char * | LogLevelToString (LogLevel level) |
Simple container for log entries.
enum LogLevel |
Level of importance.
DDD_LogEntry | ( | const std::string & | entryStr, |
LogLevel | level = LOG_INFO |
||
) |
Constructor.
entryStr | The logged entry string |
level | The entry's level of importance |
|
inline |
Entry String
|
inline |
Entry Level
|
static |
Static helper for converting Log Level to a string
level | The logged entry level |