Table of Contents

Method Info

Namespace
WhalesSecret.TradeScriptLib.Logging
Assembly
WhalesSecret.TradeScriptLib.dll

Info(string, string, string, int)

Writes the diagnostic message at the NLog.LogLevel.Info level.

public void Info(string message, string callerFilePath = "", string callerMemberName = "", int callerLineNumber = -1)

Parameters

message string

Log message.

callerFilePath string

Full 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 string

Method or property name of the caller to the method.

Do not pass any value.

callerLineNumber int

Line number in the source file at which the method is called.

Do not pass any value.

Info(ref InfoLogInterpolatedStringHandler, string, string, int)

Writes the diagnostic message at the NLog.LogLevel.Info level.

public void Info(ref InfoLogInterpolatedStringHandler builder, string callerFilePath = "", string callerMemberName = "", int callerLineNumber = -1)

Parameters

builder InfoLogInterpolatedStringHandler

Builder to provide the message to log.

callerFilePath string

Full 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 string

Method or property name of the caller to the method.

Do not pass any value.

callerLineNumber int

Line number in the source file at which the method is called.

Do not pass any value.