Log Method (Logger)
Overload List
Overload | Description |
---|---|
Log(LogLevel,String,Object[]) | Writes a log entry with the specified level (if logging for that level is enabled). |
Log(LogLevel,Exception,String,Object[]) | Writes a log entry with the specified level (if logging for that level is enabled) with details about an exception that was caught. |
Remarks
It is recommended that you use the individual Log* methods rather than this general method. This method is only provided for rare circumstances where the log level at which to write a specific entry is not known until runtime.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family