C# 클래스 Ivony.Logs.MulticastLogger

多播日志记录器
상속: Logger
파일 보기 프로젝트 열기: Ivony/LogUtility

공개 메소드들

메소드 설명
Dispose ( ) : void

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

LogEntry ( LogEntry entry ) : void

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

MulticastLogger ( ) : System

创建一个多播日志记录器

MulticastLogger ( bool throwExceptions ) : System

创建一个多播日志记录器

비공개 메소드들

메소드 설명
ExpandMulticast ( Logger logger ) : IEnumerable

메소드 상세

Dispose() 공개 메소드

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

LogEntry() 공개 메소드

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

MulticastLogger() 공개 메소드

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

MulticastLogger() 공개 메소드

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