Share via


EventLogger.SetFilters(String[]) Method

Definition

Sets or clears filters for log messages. Once filters are set, the event will be invoked only if the log message contains at least one of the strings specified by the filters. The match is case sensitive.

public static void SetFilters (params string[] filters);
static member SetFilters : string[] -> unit
Public Shared Sub SetFilters (ParamArray filters As String())

Parameters

filters
String[]

Filters to use, or an empty list to clear previously set filters

Applies to