ILoggerDelegateV2.WriteToLog Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Write a log statement to log file.
public void WriteToLog (Microsoft.InformationProtection.LogLevel logLevel, string message, string functionName, string fileName, int lineNo, object loggerContext);
abstract member WriteToLog : Microsoft.InformationProtection.LogLevel * string * string * string * int * obj -> unit
Public Sub WriteToLog (logLevel As LogLevel, message As String, functionName As String, fileName As String, lineNo As Integer, loggerContext As Object)
Parameters
- logLevel
- LogLevel
The log level for the log statement.
- message
- String
The message for the log statement.
- functionName
- String
The function name for the log statement.
- fileName
- String
The file name where log statement was generated.
- lineNo
- Int32
The line number where the log statement was generated.
- loggerContext
- Object
Client context that was passed into the call that generated this log message