|
.NET Framework | |||||||||
| PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT | |||||||||
Implementation of a simple log4net system that will either latch onto an existing category, or just do a simple rolling file log. Derived from Jon's 'complicated' version :)
| Field Summary | |
|---|---|
| log4net.ILog |
logger
log4net logging interface |
| Constructor Summary | |
|---|---|
|
SimpleLog4NetLogSystem() Initializes a new instance of the SimpleLog4NetLogSystem class. |
|
| Method Summary | |
|---|---|
| void |
Finalize() Also do a shutdown if the object is destroy()'d. |
| void | Init(NVelocity.Runtime.RuntimeServices rs) |
| void |
LogVelocityMessage(int level, string message) logs messages |
| void |
shutdown() Close all destinations |
| Methods inherited from class System.Object |
|---|
| Equals, GetHashCode, GetType, MemberwiseClone, ToString |
| Field Detail |
|---|
protected log4net.ILog logger
log4net logging interface
| Constructor Detail |
|---|
public SimpleLog4NetLogSystem()
Initializes a new instance of the SimpleLog4NetLogSystem class.
| Method Detail |
|---|
protected void Finalize()
Also do a shutdown if the object is destroy()'d.
public void Init(NVelocity.Runtime.RuntimeServices rs)
public void LogVelocityMessage(int level,
string message)
logs messages
Parameters:
level - severity levelmessage - complete error messagepublic void shutdown()
Close all destinations
|
.NET Framework | |||||||||
| PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT | |||||||||