Compartir a través de


ExceptionHelpers.Log Método

Definición

Sobrecargas

Log(Exception)
Log(Exception, EventLogEntryType)
Log(String, EventLogEntryType)
Log(Exception, String, EventLogEntryType)
Log(String, String, EventLogEntryType)
Log(String, String, EventLogEntryType, Int32, Int16)

Log(Exception)

public:
 static void Log(Exception ^ e);
public static void Log (Exception e);
static member Log : Exception -> unit
Public Shared Sub Log (e As Exception)

Parámetros

Se aplica a

Log(Exception, EventLogEntryType)

public:
 static void Log(Exception ^ e, System::Diagnostics::EventLogEntryType t);
public static void Log (Exception e, System.Diagnostics.EventLogEntryType t);
static member Log : Exception * System.Diagnostics.EventLogEntryType -> unit
Public Shared Sub Log (e As Exception, t As EventLogEntryType)

Parámetros

Se aplica a

Log(String, EventLogEntryType)

public:
 static void Log(System::String ^ msg, System::Diagnostics::EventLogEntryType t);
public static void Log (string msg, System.Diagnostics.EventLogEntryType t);
static member Log : string * System.Diagnostics.EventLogEntryType -> unit
Public Shared Sub Log (msg As String, t As EventLogEntryType)

Parámetros

msg
String

Se aplica a

Log(Exception, String, EventLogEntryType)

public:
 static void Log(Exception ^ e, System::String ^ header, System::Diagnostics::EventLogEntryType t);
public static void Log (Exception e, string header, System.Diagnostics.EventLogEntryType t);
static member Log : Exception * string * System.Diagnostics.EventLogEntryType -> unit
Public Shared Sub Log (e As Exception, header As String, t As EventLogEntryType)

Parámetros

header
String

Se aplica a

Log(String, String, EventLogEntryType)

public:
 static void Log(System::String ^ header, System::String ^ msg, System::Diagnostics::EventLogEntryType t);
public static void Log (string header, string msg, System.Diagnostics.EventLogEntryType t);
static member Log : string * string * System.Diagnostics.EventLogEntryType -> unit
Public Shared Sub Log (header As String, msg As String, t As EventLogEntryType)

Parámetros

header
String
msg
String

Se aplica a

Log(String, String, EventLogEntryType, Int32, Int16)

public:
 static void Log(System::String ^ header, System::String ^ msg, System::Diagnostics::EventLogEntryType t, int eventId, short catagory);
public static void Log (string header, string msg, System.Diagnostics.EventLogEntryType t, int eventId, short catagory);
static member Log : string * string * System.Diagnostics.EventLogEntryType * int * int16 -> unit
Public Shared Sub Log (header As String, msg As String, t As EventLogEntryType, eventId As Integer, catagory As Short)

Parámetros

header
String
msg
String
eventId
Int32
catagory
Int16

Se aplica a