Wolframe, 0.0.3

Logger error. More...

#include <logError.hpp>

Public Types

enum  Error { LOGERROR_UNDEF, LOGERROR_STRERROR, LOGERROR_WINERROR }
 

Public Member Functions

bool operator== (const LogError &e) const
 
enum Error error () const
 
 LogError (const enum Error &e=LOGERROR_UNDEF)
 

Static Public Attributes

static const LogError LogStrerror
 
static const LogError LogWinerror
 

Private Attributes

enum Error _error
 

Detailed Description

Logger error.

Member Enumeration Documentation

Internal enum representing possible error conversion methods

Enumerator
LOGERROR_UNDEF 

undefined

LOGERROR_STRERROR 

Posix strerror_r.

LOGERROR_WINERROR 

Windows GetLastError/FormatMessage.

Constructor & Destructor Documentation

_Wolframe::log::LogError::LogError ( const enum Error e = LOGERROR_UNDEF)
inline

Member Function Documentation

enum Error _Wolframe::log::LogError::error ( ) const
inline
bool _Wolframe::log::LogError::operator== ( const LogError e) const
inline

Member Data Documentation

enum Error _Wolframe::log::LogError::_error
private
const LogError _Wolframe::log::LogError::LogStrerror
static

output stream marker for logging the strerror of the last POSIX system call in human readable format

const LogError _Wolframe::log::LogError::LogWinerror
static

output stream marker for logging the Windows error of the last Windows API call in human readable format


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