C# Class Ivony.Logs.MulticastLogger

多播日志记录器
Inheritance: Logger
显示文件 Open project: Ivony/LogUtility

Public Methods

Method Description
Dispose ( ) : void

重写 Dispose 方法,释放所有日志记录器的资源

LogEntry ( LogEntry entry ) : void

对所有的日志记录器同时写入日志条目

MulticastLogger ( ) : System

创建一个多播日志记录器

MulticastLogger ( bool throwExceptions ) : System

创建一个多播日志记录器

Private Methods

Method Description
ExpandMulticast ( Logger logger ) : IEnumerable

Method Details

Dispose() public method

重写 Dispose 方法,释放所有日志记录器的资源
public Dispose ( ) : void
return void

LogEntry() public method

对所有的日志记录器同时写入日志条目
public LogEntry ( LogEntry entry ) : void
entry LogEntry 要记录的日志条目
return void

MulticastLogger() public method

创建一个多播日志记录器
public MulticastLogger ( ) : System
return System

MulticastLogger() public method

创建一个多播日志记录器
public MulticastLogger ( bool throwExceptions ) : System
throwExceptions bool 当任何一个日志记录器抛出异常时,是否应当中断日志记录并抛出异常
return System