Property | Type | Description | |
---|---|---|---|
OnLogFunc | System.Action | ||
OnWeixinExceptionFunc | Action |
Property | Type | Description | |
---|---|---|---|
Close | void | ||
Flush | void | ||
Indent | void | ||
LogBegin | void | ||
LogEnd | void | ||
Open | void | ||
TimeLog | void | ||
Unindent | void |
Method | Description | |
---|---|---|
ErrorJsonResultExceptionLog ( |
ErrorJsonResultException 日志
|
|
Log ( string messageFormat ) : void |
记录日志
|
|
SendApiLog ( string url, string returnText ) : void |
API请求日志
|
|
SendCustomLog ( string typeName, string content ) : void |
自定义日志
|
|
WeixinExceptionLog ( |
WeixinException 日志
|
Method | Description | |
---|---|---|
Close ( ) : void |
关闭日志记录
|
|
Flush ( ) : void |
写入缓存到系统Trace
|
|
Indent ( ) : void |
缩进一次
|
|
LogBegin ( string title = null ) : void |
开始记录日志
|
|
LogEnd ( ) : void |
结束日志记录
|
|
Open ( ) : void |
打开日志开始记录
|
|
TimeLog ( ) : void |
统一时间格式
|
|
Unindent ( ) : void |
退回一次缩进
|
public static ErrorJsonResultExceptionLog ( |
||
ex | ||
return | void |
public static Log ( string messageFormat ) : void | ||
messageFormat | string | 日志内容格式 |
return | void |
public static SendApiLog ( string url, string returnText ) : void | ||
url | string | |
returnText | string | |
return | void |
public static SendCustomLog ( string typeName, string content ) : void | ||
typeName | string | 日志类型 |
content | string | 日志内容 |
return | void |
public static WeixinExceptionLog ( |
||
ex | ||
return | void |