|
| ILog4zManager () |
|
virtual | ~ILog4zManager () |
|
virtual bool | config (const char *configPath)=0 |
| Config or overwrite configure Needs to be called before ILog4zManager::Start,, OR Do not call. More...
|
|
virtual bool | configFromString (const char *configContent)=0 |
|
virtual LoggerId | createLogger (const char *key)=0 |
| Create or overwrite logger. More...
|
|
virtual bool | start ()=0 |
| Start Log Thread. This method can only be called once by one process. More...
|
|
virtual bool | stop ()=0 |
| Default the method will be calling at process exit auto. More...
|
|
virtual LoggerId | findLogger (const char *key)=0 |
| Find logger. thread safe. More...
|
|
virtual bool | prePushLog (LoggerId id, int level)=0 |
|
virtual bool | pushLog (LoggerId id, int level, const char *log, const char *file=NULL, int line=0)=0 |
| Push log, thread safe. More...
|
|
virtual bool | enableLogger (LoggerId id, bool enable)=0 |
| set logger's attribute, thread safe. More...
|
|
virtual bool | setLoggerName (LoggerId id, const char *name)=0 |
|
virtual bool | setLoggerPath (LoggerId id, const char *path)=0 |
|
virtual bool | setLoggerLevel (LoggerId id, int nLevel)=0 |
|
virtual bool | setLoggerFileLine (LoggerId id, bool enable)=0 |
|
virtual bool | setLoggerDisplay (LoggerId id, bool enable)=0 |
|
virtual bool | setLoggerOutFile (LoggerId id, bool enable)=0 |
|
virtual bool | setLoggerLimitsize (LoggerId id, unsigned int limitsize)=0 |
|
virtual bool | setLoggerMonthdir (LoggerId id, bool enable)=0 |
|
virtual bool | setAutoUpdate (int interval)=0 |
| Update logger's attribute from config file, thread safe. More...
|
|
virtual bool | updateConfig ()=0 |
|
virtual bool | isLoggerEnable (LoggerId id)=0 |
| Log4z status statistics, thread safe. More...
|
|
virtual unsigned long long | getStatusTotalWriteCount ()=0 |
|
virtual unsigned long long | getStatusTotalWriteBytes ()=0 |
|
virtual unsigned long long | getStatusWaitingCount ()=0 |
|
virtual unsigned int | getStatusActiveLoggers ()=0 |
|