LogHelper Klasse

Definition

Hilfsklasse für die Protokollierung.

public class LogHelper
type LogHelper = class
Public Class LogHelper
Vererbung
LogHelper

Konstruktoren

Name Beschreibung
LogHelper()

Hilfsklasse für die Protokollierung.

Eigenschaften

Name Beschreibung
Logger

Ruft einen Logger ab, in den Protokolle geschrieben werden, oder legt diesen fest.

Methoden

Name Beschreibung
FormatInvariant(String, Object[])

Formatiert die Zeichenfolge mithilfe von InvariantCulture

IsEnabled(EventLogLevel)

Ruft ab, ob die Protokollierung an der angegebenen EventLogLevel" aktiviert ist." />

LogArgumentException<T>(EventLevel, String, Exception, String, Object[])

Protokolliert eine Argument exception using the event source logger and returns new typed exception.

LogArgumentException<T>(EventLevel, String, Exception, String)

Protokolliert eine Argument exception using the event source logger and returns new typed exception.

LogArgumentException<T>(EventLevel, String, String, Object[])

Protokolliert eine Argument exception using the event source logger and returns new typed exception.

LogArgumentException<T>(EventLevel, String, String)

Protokolliert eine Argument exception using the event source logger and returns new typed exception.

LogArgumentException<T>(String, Exception, String, Object[])

Protokolliert eine Argument exception using the event source logger and returns new typed exception.

LogArgumentException<T>(String, Exception, String)

Protokolliert eine Argument exception using the event source logger and returns new typed exception.

LogArgumentException<T>(String, String, Object[])

Protokolliert eine Argument exception using the event source logger and returns new typed exception.

LogArgumentException<T>(String, String)

Protokolliert eine Argument exception using the event source logger and returns new typed exception.

LogArgumentNullException(String)

Protokolliert eine Ausnahme mithilfe des Ereignisquellprotokollers und gibt eine neue ArgumentNullException Ausnahme zurück.

LogException<T>(EventLevel, Exception, String, Object[])

Protokolliert eine Ausnahme mithilfe des Ereignisquellprotokollers und gibt eine neue typierte Ausnahme zurück.

LogException<T>(EventLevel, Exception, String)

Protokolliert eine Ausnahme mithilfe des Ereignisquellprotokollers und gibt eine neue typierte Ausnahme zurück.

LogException<T>(EventLevel, String, Object[])

Protokolliert eine Ausnahme mithilfe des Ereignisquellprotokollers und gibt eine neue typierte Ausnahme zurück.

LogException<T>(EventLevel, String)

Protokolliert eine Ausnahme mithilfe des Ereignisquellprotokollers und gibt eine neue typierte Ausnahme zurück.

LogException<T>(Exception, String, Object[])

Protokolliert eine Ausnahme mithilfe des Ereignisquellprotokollers und gibt eine neue typierte Ausnahme zurück.

LogException<T>(Exception, String)

Protokolliert eine Ausnahme mithilfe des Ereignisquellprotokollers und gibt eine neue typierte Ausnahme zurück.

LogException<T>(String, Object[])

Protokolliert eine Ausnahme mithilfe des Ereignisquellprotokollers und gibt eine neue typierte Ausnahme zurück.

LogException<T>(String)

Protokolliert eine Ausnahme mithilfe des Ereignisquellprotokollers und gibt eine neue typierte Ausnahme zurück.

LogExceptionMessage(EventLevel, Exception)

Protokolliert eine Ausnahme mithilfe des Ereignisquellprotokollierers.

LogExceptionMessage(Exception)

Protokolliert eine Ausnahme mithilfe des Ereignisquellprotokollierers.

LogInformation(String, Object[])

Protokolliert ein Informationsereignis.

LogVerbose(String, Object[])

Protokolliert ein ausführliches Ereignis.

LogWarning(String, Object[])

Protokolliert ein Warnereignis.

MarkAsNonPII(Object)

Markiert ein Protokollmeldungsargument (arg) als "NonPII".

MarkAsSecurityArtifact(Object, Func<Object,String>, Func<Object,String>)

Markiert ein Protokollmeldungsargument (arg) als SecurityArtifact.

MarkAsSecurityArtifact(Object, Func<Object,String>)

Markiert ein Protokollmeldungsargument (arg) als SecurityArtifact.

MarkAsUnsafeSecurityArtifact(Object, Func<Object,String>)

Markiert ein Protokollmeldungsargument (arg) als SecurityArtifact.

Gilt für: