Utility to log execution information on the console, the trace or debug output, the system event collector (Windows or Syslog) or a remote GrayLog server.
More...
|
static void | CaptureTrace () |
|
static void | CaptureDebug () |
|
static Level | IntToLevel (int intLevel) |
| Translate a numeric value into a valid Level enum value.
|
|
static Level | StringToLevel (string strLevel) |
| Translate a text value into a valid Level enum value.
|
|
static void | LoadConfigFromRegistry (string CompanyName, string ProductName) |
| Load the Logger settings from the application's registry branch.
|
|
static void | ReadArgs (string[] args) |
| Load the Logger settings from the program's command line.
|
|
static void | OpenSysLog (SysLog.Facility facility, string hostName, string applicationName, string serverAddr, int serverPort=514, bool useRfc5424=false) |
| Configure the Logger to send its messages to a SysLog server.
|
|
static void | OpenSysLog (SysLog.Facility facility, Level level, string applicationName, string serverAddr, int serverPort=514, bool useRfc5424=false) |
| Configure the Logger to send its messages to a SysLog server.
|
|
static void | OpenSysLog (SysLog.Facility facility, string ServerAddr, int ServerPort=514, bool useRfc5424=false) |
| Configure the Logger to send its messages to a SysLog server.
|
|
static void | OpenSysLog (SysLog.Facility facility, Level level, string ServerAddr, int ServerPort=514, bool useRfc5424=false) |
| Configure the Logger to send its messages to a SysLog server.
|
|
static void | OpenSysLog (string ServerAddr, int ServerPort=514, bool useRfc5424=false) |
| Configure the Logger to send messages to a SysLog server.
|
|
static void | OpenSysLog (Level level, string ServerAddr, int ServerPort=514, bool useRfc5424=false) |
| Configure the Logger to send its messages to a SysLog server.
|
|
static void | OpenGelf_SpringCardNet (Level level, string hostName, string applicationName) |
| Configure the Logger to send its messages to SpringCard's GrayLog server. More...
|
|
static void | OpenGelf_SpringCardNet (Level level, string applicationName) |
| Configure the Logger to send its messages to SpringCard's GrayLog server. More...
|
|
static void | OpenGelf (Level level, string hostName, string applicationName, string serverName, int serverPort=2202) |
| Configure the Logger to send its messages to a GrayLog server.
|
|
static void | OpenGelf (Level level, string applicationName, string serverAddr, int serverPort=2202) |
| Configure the Logger to send its messages to a GrayLog server.
|
|
static void | OpenGelf (Level level, string serverAddr, int serverPort=2202) |
| Configure the Logger to send its messages to a GrayLog server.
|
|
static void | SetGelfConstant (string Name, string Value) |
| Set a GrayLog constant parameter.
|
|
static void | OpenLogFile (string fileName, bool useDate=false) |
| Configure the Logger to send its messages to a file.
|
|
static void | OpenLogFile (Level level, string fileName, bool useDate=false) |
| Configure the Logger to send its messages to a file.
|
|
static void | OpenEventLog (string log, string source) |
| Configure the Logger to send its messages to Windows' event log.
|
|
static void | OpenEventLog (Level level, string log, string source) |
| Configure the Logger to send its messages to Windows' event log.
|
|
static void | Debug (string message) |
| Log a Debug-level message.
|
|
static void | Debug (string message, params object[] args) |
| Log a Debug-level message.
|
|
static void | Trace (string message) |
| Log a Trace-level message.
|
|
static void | Trace (string message, params object[] args) |
| Log a Trace-level message.
|
|
static void | Info (string message) |
| Log an Info-level message.
|
|
static void | Info (string message, params object[] args) |
| Log an Info-level message.
|
|
static void | Warning (string message) |
| Log a Warning-level message.
|
|
static void | Warning (string message, params object[] args) |
| Log a Warning-level message.
|
|
static void | Error (string message) |
| Log an Error-level message.
|
|
static void | Error (string message, params object[] args) |
| Log an Error-level message.
|
|
static void | Fatal (string message) |
| Log a Fatal-level message.
|
|
static void | Fatal (string message, params object[] args) |
| Log a Fatal-level message.
|
|
static void | Log (Level level, string message) |
| Log a message.
|
|
static void | Log (Level level, string message, params object[] args) |
| Log a message.
|
|
Utility to log execution information on the console, the trace or debug output, the system event collector (Windows or Syslog) or a remote GrayLog server.