Megosztás a következőn keresztül:


FileLogger.SetFilters(String[]) Method

Definition

Sets or clears the filters that apply to file logging. Once filters are set, the event will be invoked only if the log string 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 remove previously set filters.

Applies to