 | ILoggerBaseLog Method (LogLevel, String, Object, Object) |
Writes the diagnostic message at the specified level using the specified parameters.
Namespace: NLogAssembly: NLog (in NLog.dll) Version: 0.0.0.0
Syntaxvoid Log(
LogLevel level,
string message,
Object arg1,
Object arg2
)
Sub Log (
level As LogLevel,
message As String,
arg1 As Object,
arg2 As Object
)
Parameters
- level
- Type: NLogLogLevel
The log level. - message
- Type: SystemString
A string containing format items. - arg1
- Type: SystemObject
First argument to format. - arg2
- Type: SystemObject
Second argument to format.
See Also