Method | Description | |
---|---|---|
Write ( string message, |
添加日志消息
|
Method | Description | |
---|---|---|
Add ( object obj ) : void |
将对象添加到待持久化队列
|
|
InitTimer ( ) : void |
初始化定时器(持久化到日志文件的任务)
|
|
LogWrite ( EumLogType logType, string filePath, int lazyTime ) : System |
日志持久化工具
|
|
SendEmail ( |
发送日志到邮件
|
public Write ( string message, |
||
message | string | 消息内容 |
exp | 异常 | |
return | void |