|
commore
1.0.6-SNAPSHOT
|
#include <LogHook.h>
Inheritance diagram for commore::FileLogHook:Public Member Functions | |
| FileLogHook (const AChar *dir, int max_line=132) | |
| FileLogHook (const FileLogHook &) | |
| FileLogHook & | operator= (const FileLogHook &) |
| bool | activate (bool activate=true) |
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 file Log hook
| commore::FileLogHook::FileLogHook | ( | const AChar * | dir, |
| int | max_line = 132 |
||
| ) |
| dir | : path of an existing directory, where log files will be created |
| bool commore::FileLogHook::activate | ( | bool | activate = true | ) |
Activate log message collect
| activate | if false deactivate |