EventLogSettings Clase

Definición

Configuración para EventLogLogger.Settings for EventLogLogger.

public ref class EventLogSettings
public class EventLogSettings
type EventLogSettings = class
Public Class EventLogSettings
Herencia
EventLogSettings

Constructores

EventLogSettings()

Propiedades

EventLog

Solo con fines de pruebas unitarias.For unit testing purposes only.

Filter

La función que se usa para filtrar eventos según el nivel de registro.The function used to filter events based on the log level.

LogName

Nombre del registro de eventos.Name of the event log. Si es null o no se especifica, "Application" es el valor predeterminado.If null or not specified, "Application" is the default.

MachineName

Nombre del equipo que tiene el registro de eventos.Name of the machine having the event log. Si es null o no se especifica, el equipo local es el valor predeterminado.If null or not specified, local machine is the default.

SourceName

Nombre del origen del registro de eventos.Name of the event log source. Si es null o no se especifica, "Application" es el valor predeterminado.If null or not specified, "Application" is the default.

Métodos

Equals(Object)

Determina si el objeto especificado es igual que el objeto actual.Determines whether the specified object is equal to the current object.

(Heredado de Object)
GetHashCode()

Sirve como la función hash predeterminada.Serves as the default hash function.

(Heredado de Object)
GetType()

Obtiene el Type de la instancia actual.Gets the Type of the current instance.

(Heredado de Object)
MemberwiseClone()

Crea una copia superficial del Object actual.Creates a shallow copy of the current Object.

(Heredado de Object)
ToString()

Devuelve una cadena que representa el objeto actual.Returns a string that represents the current object.

(Heredado de Object)

Se aplica a