My Project
|
A simple logger, which logs messages to a List. More...
Public Member Functions | |
void | Add (LogItem item) |
void | Clear () |
void | Info (string message) |
void | Warning (string message, string location) |
void | Error (string message, string location) |
![]() | |
void | Add (T item) |
void | Clear () |
void | Info (string message) |
void | Error (string message, string info) |
void | Warning (string message, string info) |
Properties | |
static bool | Verbose [get, set] |
Log detailed information. | |
static ILog< LogItem > | Instance [get] |
IList< LogItem > | Data [get] |
LogLevel | Level [get] |
![]() | |
IList< T > | Data [get] |
LogLevel | Level [get] |
A simple logger, which logs messages to a List.
Using singleton pattern as proposed by Jon Skeet. http://csharpindepth.com/Articles/General/Singleton.aspx