 | LoggerInfo Method (String, Exception) |
Note: This API is now obsolete.
Writes the diagnostic message and exception at the Info level.
Namespace: NLogAssembly: NLog (in NLog.dll) Version: 4.3.0
Syntax[ObsoleteAttribute("Use Info(Exception exception, string message, params object[] args) method instead.")]
public void Info(
string message,
Exception exception
)
<ObsoleteAttribute("Use Info(Exception exception, string message, params object[] args) method instead.")>
Public Sub Info (
message As String,
exception As Exception
)
Parameters
- message
- Type: SystemString
A string to be written. - exception
- Type: SystemException
An exception to be logged.
Implements
ILoggerInfo(String, Exception)
See Also