commore  1.0.6-SNAPSHOT
All Classes Namespaces Functions Variables Typedefs Enumerations Pages
commore::CatcherLogHook Class Reference

#include <LogHook.h>

+ Inheritance diagram for commore::CatcherLogHook:

Public Member Functions

 CatcherLogHook (bool activate=true)
 
 CatcherLogHook (const CatcherLogHook &)
 
CatcherLogHookoperator= (const CatcherLogHook &)
 
bool activate ()
 
bool deactivate (ListLogMessage &messages)
 
- Public Member Functions inherited from commore::AutoRef< LogHook >
 AutoRef ()
 
 AutoRef (const AChar *s)
 
 AutoRef (bool)
 
 AutoRef (LogHook *p)
 
 AutoRef (RefObject *p)
 
 AutoRef (const AutoRef &a)
 
 AutoRef (const AutoRefBase &a)
 
AutoRefoperator= (const AutoRef &a)
 
AutoRefoperator= (const AutoRefBase &a)
 
AutoRefoperator= (RefObject *p)
 
 operator bool () const
 
bool create (const AChar *s)
 
bool create ()
 
bool bind (const AChar *s)
 
bool bind ()
 
LogHookget () const
 
LogHookoperator* () const
 
LogHookoperator-> () const
 
 operator LogHook * () const
 
bool operator== (const AutoRef &a) const
 
bool operator!= (const AutoRef &a) const
 
bool operator< (const AutoRef &a) const
 
bool is_bound () const
 
void unbind ()
 
- Public Member Functions inherited from commore::AutoRefBase
 AutoRefBase ()
 
 AutoRefBase (RefObject *p)
 
 AutoRefBase (const AutoRefBase &a)
 
AutoRefBaseoperator= (const AutoRefBase &a)
 
RefObjectget_ () const
 
void set_ (RefObject *p)
 
void clear ()
 

Detailed Description

Standard Log catcher Collect log message and retain them

Member Function Documentation

bool commore::CatcherLogHook::activate ( )

Activate log message collect

Returns
previous status
bool commore::CatcherLogHook::deactivate ( ListLogMessage messages)

Terminate log message collect

Parameters
messagescollected
Returns
previous status

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