 | LoggerWarn Method (String, Object) |
Writes the diagnostic message at the Warn level using the specified parameters.
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic void Warn(
string message,
params Object?[] args
)
Public Sub Warn (
message As String,
ParamArray args As Object()
)
Dim instance As Logger
Dim message As String
Dim args As Object()
instance.Warn(message, args)
abstract Warn :
message : string *
args : Object[] -> unit
override Warn :
message : string *
args : Object[] -> unit Parameters
- message
- Type: SystemString
A string containing format items. - args
- Type: SystemObject
Arguments to format.
Implements
ILoggerWarn(String, Object)
See Also