Class DeviceLogFilter
A class representing filters for log event sources (device names).
Implements
Inherited Members
Namespace: Phoenix.BotBrain.Logging
Assembly: Phoenix.Plugin.BotBrain.Logging.dll
Syntax
public class DeviceLogFilter : LogFilterBase, INotifyPropertyChanged
Constructors
View SourceDeviceLogFilter(LogEvent)
Initializes a new instance of the DeviceLogFilter class.
Declaration
public DeviceLogFilter(LogEvent e)
Parameters
Type | Name | Description |
---|---|---|
LogEvent | e | The log event to create the filter from. |
DeviceLogFilter(string)
Initializes a new instance of the DeviceLogFilter class.
Declaration
public DeviceLogFilter(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. |