C# Class Ivony.Logs.LogSourceNameRestrictFilter

Inheritance: LogFilter
Datei anzeigen Open project: Ivony/LogUtility

Public Methods

Method Description
LogSourceNameRestrictFilter ( string sourceName ) : System

创建 LogSourceNameRestrictFilter 对象

Writable ( LogEntry entry ) : bool

重写 Writable 方法,确认日志条目是否由指定的日志源产生

Method Details

LogSourceNameRestrictFilter() public method

创建 LogSourceNameRestrictFilter 对象
public LogSourceNameRestrictFilter ( string sourceName ) : System
sourceName string 日志源名称
return System

Writable() public method

重写 Writable 方法,确认日志条目是否由指定的日志源产生
public Writable ( LogEntry entry ) : bool
entry LogEntry 要检查的日志条目
return bool