Class NameLogFilter
A class representing filters for log event names.
Implements
Inherited Members
Namespace: Phoenix.BotBrain.Logging
Assembly: Phoenix.Plugin.BotBrain.Logging.dll
Syntax
public class NameLogFilter : LogFilterBase, INotifyPropertyChanged
Constructors
View SourceNameLogFilter(LogEvent)
Initializes a new instance of the NameLogFilter class.
Declaration
public NameLogFilter(LogEvent e)
Parameters
Type | Name | Description |
---|---|---|
LogEvent | e | The log event to create the filter from. |
NameLogFilter(string)
Initializes a new instance of the NameLogFilter class.
Declaration
public NameLogFilter(string value)
Parameters
Type | Name | Description |
---|---|---|
string | value | The value to filter on. |
Methods
View SourceRead(LogEvent)
Gets the value to filter on from a log event.
Declaration
protected override string? Read(LogEvent e)
Parameters
Type | Name | Description |
---|---|---|
LogEvent | e | The log event. |
Returns
Type | Description |
---|---|
string | The value to filter on. |