Public Types | Public Member Functions | Public Attributes

cl7::logging::LogEntry Class Reference

#include <LogEntry.h>

List of all members.

Public Types

enum  Type {
  Log = 0, Info, Success, Warning,
  Error, Item, Code, Other
}

Public Member Functions

const cl7::string_typeGetLogMessage () const
const Type GetLogType () const
LogEntryGetPrev () const
LogEntryGetNext () const
const cl7::char_type *const GetFileName () const
const unsigned GetLineNumber () const

Public Attributes

friend Logger

Detailed Description

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.


Member Enumeration Documentation

The type of a log entry.

Enumerator:
Log 
Info 
Success 
Warning 
Error 
Item 
Code 
Other 

Member Function Documentation

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.


Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines