ILogger.LogEvent Method (String, Int32, String)
Logs an event.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)
Syntax
'Declaration
Sub LogEvent ( _
plugin As String, _
logLevel As Integer, _
msg As String _
)
void LogEvent(
string plugin,
int logLevel,
string msg
)
void LogEvent(
String^ plugin,
int logLevel,
String^ msg
)
abstract LogEvent :
plugin:string *
logLevel:int *
msg:string -> unit
function LogEvent(
plugin : String,
logLevel : int,
msg : String
)
Parameters
- plugin
Type: System.String
The plug-in that raised the event.
- logLevel
Type: System.Int32
The log level.
- msg
Type: System.String
The string to write to the log.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.