#include <LogEntry.h>
Public Types | |
| enum | Type { Log = 0, Info, Success, Warning, Error, Item, Code, Other } |
Public Member Functions | |
| const cl7::string_type & | GetLogMessage () const |
| const Type | GetLogType () const |
| LogEntry * | GetPrev () const |
| LogEntry * | GetNext () const |
| const cl7::char_type *const | GetFileName () const |
| const unsigned | GetLineNumber () const |
Public Attributes | |
| friend | Logger |
Holds the data of one log entry: The log message, the log type (error, warning, etc.) as well as pointers to the previous and to the next log entry.
| const cl7::char_type* const cl7::logging::LogEntry::GetFileName | ( | ) | const [inline] |
Returns the file name the log was generated in.
| const unsigned cl7::logging::LogEntry::GetLineNumber | ( | ) | const [inline] |
Returns the line number the log way generated at.
| const cl7::string_type& cl7::logging::LogEntry::GetLogMessage | ( | ) | const [inline] |
Returns the message associated with this log entry.
| const Type cl7::logging::LogEntry::GetLogType | ( | ) | const [inline] |
Returns the type associated with this log entry.
| LogEntry* cl7::logging::LogEntry::GetNext | ( | ) | const [inline] |
Returns the successor of this log entry.
| LogEntry* cl7::logging::LogEntry::GetPrev | ( | ) | const [inline] |
Returns the predecessor of this log entry.
1.7.1