Public Member Functions | |
| AeiLog () | |
| bool | rotateLogTo (String new_name) |
| bool | rotateLog () |
| void | logPlain (String message) |
| bool | openLog (String fileName) |
| bool | openLog (String fileName, bool stderrToo) |
| bool | openLog (String fileName, bool stdErr, int severity) |
| bool | closeLog () |
| void | setLogLevel (int severity) |
| void | log (int severity, String message) |
| String | getTrace (int level) |
| int | findSeverityCode (String severityStr) |
| Boolean | Initialize (Core.Interfaces.IConfig config, String context_path) |
| Boolean | Initialize (Core.Interfaces.IConfig config, String context_path, String param_root) |
| void | PostInit () |
| AeiLog () | |
| AeiLog (Core.ApplicationContext context) | |
| void | PostInit () |
| bool | rotateLogTo (String new_name) |
| bool | rotateLog () |
| void | logPlain (String message) |
| bool | openLog (String fileName) |
| bool | openLog (String fileName, bool stderrToo) |
| bool | openLog (String fileName, bool stdErr, int severity) |
| bool | closeLog () |
| void | setLogLevel (int severity) |
| void | log (int severity, String message) |
| String | getTrace (int level) |
| int | findSeverityCode (String severityStr) |
| Boolean | Initialize (Core.Interfaces.IConfig config, String context_path) |
| Boolean | Initialize (Core.Interfaces.IConfig config, String context_path, String param_root) |
Static Public Attributes | |
| static int | ALL = 0 |
| The main entry point for the application. | |
| static int | DEBUG = 1 |
| static int | ADVISORY = 2 |
| static int | NORMAL = 3 |
| static int | WARNING = 4 |
| static int | ERROR = 5 |
| static int | FATAL = 6 |
| static int | NONE = 7 |
Properties | |
| bool | WriteToConsole [get, set] |
| int | RotateCount [get, set] |
| bool | Rotated [get, set] |
| String | PreferredLogName [get, set] |
| Boolean | PrintTrace [get, set] |
| bool | UseDatabase [get, set] |
Private Member Functions | |
| bool | isLevelValid (int severity) |
| String | findSeverityStr (int severity) |
| String | getCurrentTime () |
| bool | isLevelValid (int severity) |
| String | findSeverityStr (int severity) |
| String | getCurrentTime () |
Private Attributes | |
| String[] | severities |
| long | maximumLogsize = 5000000 |
| long | currentLogsize = 0 |
| String | logFileName = null |
| bool | printTrace = false |
| String | preferred_log_name = null |
| int | logLevel = NONE |
| System.IO.StreamWriter | logStream = null |
| bool | rotated = false |
| int | rotate_count = 0 |
| bool | stdErr = false |
| bool | use_database = false |
| Core.ApplicationContext | application_context = null |
| LogSpool | spool = null |
| bool | add_spool = false |
| Core.Util.Logger.AeiLog.AeiLog | ( | ) |
| Core.Util.Logger.AeiLog.AeiLog | ( | ) |
| Core.Util.Logger.AeiLog.AeiLog | ( | Core.ApplicationContext | context | ) |
| bool Core.Util.Logger.AeiLog.rotateLogTo | ( | String | new_name | ) |
| bool Core.Util.Logger.AeiLog.rotateLog | ( | ) |
| void Core.Util.Logger.AeiLog.logPlain | ( | String | message | ) |
| bool Core.Util.Logger.AeiLog.openLog | ( | String | fileName | ) |
| bool Core.Util.Logger.AeiLog.openLog | ( | String | fileName, | |
| bool | stderrToo | |||
| ) |
| bool Core.Util.Logger.AeiLog.openLog | ( | String | fileName, | |
| bool | stdErr, | |||
| int | severity | |||
| ) |
| bool Core.Util.Logger.AeiLog.closeLog | ( | ) |
| void Core.Util.Logger.AeiLog.setLogLevel | ( | int | severity | ) |
| bool Core.Util.Logger.AeiLog.isLevelValid | ( | int | severity | ) | [private] |
| void Core.Util.Logger.AeiLog.log | ( | int | severity, | |
| String | message | |||
| ) |
| String Core.Util.Logger.AeiLog.getTrace | ( | int | level | ) |
| String Core.Util.Logger.AeiLog.findSeverityStr | ( | int | severity | ) | [private] |
| int Core.Util.Logger.AeiLog.findSeverityCode | ( | String | severityStr | ) |
| String Core.Util.Logger.AeiLog.getCurrentTime | ( | ) | [private] |
| Boolean Core.Util.Logger.AeiLog.Initialize | ( | Core.Interfaces.IConfig | config, | |
| String | context_path | |||
| ) |
| Boolean Core.Util.Logger.AeiLog.Initialize | ( | Core.Interfaces.IConfig | config, | |
| String | context_path, | |||
| String | param_root | |||
| ) |
| void Core.Util.Logger.AeiLog.PostInit | ( | ) |
| void Core.Util.Logger.AeiLog.PostInit | ( | ) |
| bool Core.Util.Logger.AeiLog.rotateLogTo | ( | String | new_name | ) |
| bool Core.Util.Logger.AeiLog.rotateLog | ( | ) |
| void Core.Util.Logger.AeiLog.logPlain | ( | String | message | ) |
| bool Core.Util.Logger.AeiLog.openLog | ( | String | fileName | ) |
| bool Core.Util.Logger.AeiLog.openLog | ( | String | fileName, | |
| bool | stderrToo | |||
| ) |
| bool Core.Util.Logger.AeiLog.openLog | ( | String | fileName, | |
| bool | stdErr, | |||
| int | severity | |||
| ) |
| bool Core.Util.Logger.AeiLog.closeLog | ( | ) |
| void Core.Util.Logger.AeiLog.setLogLevel | ( | int | severity | ) |
| bool Core.Util.Logger.AeiLog.isLevelValid | ( | int | severity | ) | [private] |
| void Core.Util.Logger.AeiLog.log | ( | int | severity, | |
| String | message | |||
| ) |
| String Core.Util.Logger.AeiLog.getTrace | ( | int | level | ) |
| String Core.Util.Logger.AeiLog.findSeverityStr | ( | int | severity | ) | [private] |
| int Core.Util.Logger.AeiLog.findSeverityCode | ( | String | severityStr | ) |
| String Core.Util.Logger.AeiLog.getCurrentTime | ( | ) | [private] |
| Boolean Core.Util.Logger.AeiLog.Initialize | ( | Core.Interfaces.IConfig | config, | |
| String | context_path | |||
| ) |
| Boolean Core.Util.Logger.AeiLog.Initialize | ( | Core.Interfaces.IConfig | config, | |
| String | context_path, | |||
| String | param_root | |||
| ) |
static int Core::Util::Logger.AeiLog::ALL = 0 [static] |
The main entry point for the application.
static int Core::Util::Logger.AeiLog::DEBUG = 1 [static] |
static int Core::Util::Logger.AeiLog::ADVISORY = 2 [static] |
static int Core::Util::Logger.AeiLog::NORMAL = 3 [static] |
static int Core::Util::Logger.AeiLog::WARNING = 4 [static] |
static int Core::Util::Logger.AeiLog::ERROR = 5 [static] |
static int Core::Util::Logger.AeiLog::FATAL = 6 [static] |
static int Core::Util::Logger.AeiLog::NONE = 7 [static] |
String [] Core.Util.Logger.AeiLog.severities [private] |
Initial value:
{
"ALL",
"DEBUG",
"ADVISORY",
"NORMAL",
"WARNING",
"ERROR",
"FATAL",
"NONE"
}
long Core::Util::Logger.AeiLog::maximumLogsize = 5000000 [private] |
long Core::Util::Logger.AeiLog::currentLogsize = 0 [private] |
String Core::Util::Logger.AeiLog::logFileName = null [private] |
bool Core::Util::Logger.AeiLog::printTrace = false [private] |
String Core::Util::Logger.AeiLog::preferred_log_name = null [private] |
int Core::Util::Logger.AeiLog::logLevel = NONE [private] |
System IO StreamWriter Core::Util::Logger.AeiLog::logStream = null [private] |
bool Core::Util::Logger.AeiLog::rotated = false [private] |
int Core::Util::Logger.AeiLog::rotate_count = 0 [private] |
bool Core::Util::Logger.AeiLog::stdErr = false [private] |
bool Core.Util.Logger.AeiLog.use_database = false [private] |
Core.ApplicationContext Core.Util.Logger.AeiLog.application_context = null [private] |
LogSpool Core.Util.Logger.AeiLog.spool = null [private] |
bool Core.Util.Logger.AeiLog.add_spool = false [private] |
bool Core::Util::Logger.AeiLog::WriteToConsole [get, set] |
int Core::Util::Logger.AeiLog::RotateCount [get, set] |
bool Core::Util::Logger.AeiLog::Rotated [get, set] |
String Core::Util::Logger.AeiLog::PreferredLogName [get, set] |
Boolean Core::Util::Logger.AeiLog::PrintTrace [get, set] |
bool Core.Util.Logger.AeiLog.UseDatabase [get, set] |