#include <iostream>#include <iomanip>#include <fstream>#include <string>#include <sstream>#include <time.h>#include "Logger.h"#include "Portable.h"#include "DHCPConst.h"Namespaces | |
| namespace | logger |
Functions | |
| ostream & | endl (ostream &strum) |
| ostream & | logCommon (int x) |
| ostream & | logCont () |
| ostream & | logEmerg () |
| ostream & | logAlert () |
| ostream & | logCrit () |
| ostream & | logError () |
| ostream & | logWarning () |
| ostream & | logNotice () |
| ostream & | logInfo () |
| ostream & | logDebug () |
| void | Initialize (char *file) |
| void | Terminate () |
| void | EchoOn () |
| void | EchoOff () |
| void | setLogLevel (int x) |
| void | setLogName (string x) |
| string | getLogName () |
| int | getLogLevel () |
| void | setLogMode (string x) |
| std::string | StateToString (EState state) |
| std::string | StatusCodeToString (int status) |
Variables | |
| string | logname = "Init" |
| int | logLevel = 8 |
| Elogmode | logmode = SHORT |
| ofstream | logFile |
| bool | logFileMode = false |
| bool | echo = true |
| int | curLogEntry = 8 |
| ostringstream | buffer |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.9.1