|
commore
1.0.6-SNAPSHOT
|
#include <LogHook.h>
Inheritance diagram for commore::CatcherLogHook:Public Member Functions | |
| CatcherLogHook (bool activate=true) | |
| CatcherLogHook (const CatcherLogHook &) | |
| CatcherLogHook & | operator= (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) | |
| AutoRef & | operator= (const AutoRef &a) |
| AutoRef & | operator= (const AutoRefBase &a) |
| AutoRef & | operator= (RefObject *p) |
| operator bool () const | |
| bool | create (const AChar *s) |
| bool | create () |
| bool | bind (const AChar *s) |
| bool | bind () |
| LogHook * | get () const |
| LogHook & | operator* () const |
| LogHook * | operator-> () 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) | |
| AutoRefBase & | operator= (const AutoRefBase &a) |
| RefObject * | get_ () const |
| void | set_ (RefObject *p) |
| void | clear () |
Standard Log catcher Collect log message and retain them
| bool commore::CatcherLogHook::activate | ( | ) |
Activate log message collect
| bool commore::CatcherLogHook::deactivate | ( | ListLogMessage & | messages | ) |
Terminate log message collect
| messages | collected |