comet::error_logger_< OVERRIDE > Struct Template Reference
[ErrorHandlingErrorHandling]

#include <comet/handle_except.h>

List of all members.

Static Public Member Functions

bool can_log_exception ()
void log_exception (const tstring &type, const tstring &desc, const source_info_t &errorSource, const source_info_t &callSource)
 Called by exception handlers to provide logging for errors.


Detailed Description

template<bool OVERRIDE>
struct comet::error_logger_< OVERRIDE >

Default to NULL logger - and description of 'error logger' concept. Specialise to true to override.


Member Function Documentation

template<bool OVERRIDE>
bool comet::error_logger_< OVERRIDE >::can_log_exception  )  [inline, static]
 

Should the error be logged?

Returns:
Return true to allow error to be logged.


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