C# 클래스 FS.Log.Default.LogWrite

日志持久化工具
파일 보기 프로젝트 열기: FarseerNet/Farseer.Net

공개 메소드들

메소드 설명
Write ( string message, Exception exp ) : void

添加日志消息

비공개 메소드들

메소드 설명
Add ( object obj ) : void

将对象添加到待持久化队列

InitTimer ( ) : void

初始化定时器(持久化到日志文件的任务)

LogWrite ( EumLogType logType, string filePath, int lazyTime ) : System

日志持久化工具

SendEmail ( CommonLog log ) : void

发送日志到邮件

메소드 상세

Write() 공개 메소드

添加日志消息
public Write ( string message, Exception exp ) : void
message string 消息内容
exp System.Exception 异常
리턴 void