Logger.Info 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.
Overloads
Info(String, String) |
Logs an informational event with the specified parameters. |
Info(String, String, Boolean) |
Logs an informational event with the specified parameters. |
Info(String, String)
Logs an informational event with the specified parameters.
public static void Info (string caller, string message);
static member Info : string * string -> unit
Public Shared Sub Info (caller As String, message As String)
Parameters
- caller
- String
The source of the information
- message
- String
An informational message
Applies to
Info(String, String, Boolean)
Logs an informational event with the specified parameters.
public static void Info (string caller, string message, bool eventLog);
static member Info : string * string * bool -> unit
Public Shared Sub Info (caller As String, message As String, eventLog As Boolean)
Parameters
- caller
- String
The source of the information
- message
- String
An informational message
- eventLog
- Boolean
TRUE to write to the Windows event log; otherwise, FALSE