Method Warn
- Namespace
- WhalesSecret.TradeScriptLib.Logging
- Assembly
- WhalesSecret.TradeScriptLib.dll
Warn(string, string, string, int)
Writes the diagnostic message at the NLog.LogLevel.Warn level.
public void Warn(string message, string callerFilePath = "", string callerMemberName = "", int callerLineNumber = -1)
Parameters
message
stringLog message.
callerFilePath
stringFull path of the source file that contains the caller. This is the file path at the time of compile.
Do not pass any value.
callerMemberName
stringMethod or property name of the caller to the method.
Do not pass any value.
callerLineNumber
intLine number in the source file at which the method is called.
Do not pass any value.
Warn(ref WarnLogInterpolatedStringHandler, string, string, int)
Writes the diagnostic message at the NLog.LogLevel.Warn level.
public void Warn(ref WarnLogInterpolatedStringHandler builder, string callerFilePath = "", string callerMemberName = "", int callerLineNumber = -1)
Parameters
builder
WarnLogInterpolatedStringHandlerBuilder to provide the message to log.
callerFilePath
stringFull path of the source file that contains the caller. This is the file path at the time of compile.
Do not pass any value.
callerMemberName
stringMethod or property name of the caller to the method.
Do not pass any value.
callerLineNumber
intLine number in the source file at which the method is called.
Do not pass any value.