DataDirector API
Public Types | Public Member Functions | Static Public Member Functions | List of all members
DDD_LogEntry Class Reference

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)
 

Detailed Description

Simple container for log entries.

Note
Members aren't meant to be mutable once instantiated.

Member Enumeration Documentation

enum LogLevel

Level of importance.

Constructor & Destructor Documentation

DDD_LogEntry ( const std::string &  entryStr,
LogLevel  level = LOG_INFO 
)

Constructor.

Parameters
entryStrThe logged entry string
levelThe entry's level of importance

Member Function Documentation

std::string EntryStr ( ) const
inline

Entry String

Returns
entry string
LogLevel Level ( ) const
inline

Entry Level

Returns
entry log level
static const char* LogLevelToString ( LogLevel  level)
static

Static helper for converting Log Level to a string

Parameters
levelThe logged entry level

The documentation for this class was generated from the following file: