Click or drag to resize
WebLogger Class
Web Log
Inheritance Hierarchy

Namespace: Adf
Assembly: Adf.Web (in Adf.Web.dll) Version: 4.1.5463.29815
Syntax
public class WebLogger : LogManager

The WebLogger type exposes the following members.

Methods
  NameDescription
Public methodDispose
资源释放
(Inherited from LogManager.)
Public methodEnable
设置是否开启日志
(Inherited from LogManager.)
Public methodEquals
确定指定的 Object 是否等于当前的 Object
(Inherited from Object.)
Public methodException
Exception
(Overrides LogManagerException(Exception).)
Protected methodFinalize
允许 Object 在“垃圾回收”回收 Object 之前尝试释放资源并执行其他清理操作。
(Inherited from Object.)
Public methodFlush
刷新并存储所有缓冲区内容,该方法一般在应用结束或需要批量将数据存储时使用
(Inherited from LogManager.)
Protected methodForEach
循环当前每个日志写入器
(Inherited from LogManager.)
Public methodGetExceptionWriter
get exception logmanager
(Inherited from LogManager.)
Public methodGetHashCode
用作特定类型的哈希函数。
(Inherited from Object.)
Public methodGetType
获取当前实例的 Type
(Inherited from Object.)
Public methodGetWriter
get name logwriter
(Inherited from LogManager.)
Protected methodMemberwiseClone
创建当前 Object 的浅表副本。
(Inherited from Object.)
Public methodSendExceptionMail
发送异常邮件
(Inherited from LogManager.)
Public methodToString
返回表示当前 ObjectString
(Inherited from Object.)
Protected methodWritingToConsole
console logger
(Inherited from LogManager.)
Top
Properties
  NameDescription
Public propertyAllDisabled
是否全部禁用,当配置Log:Disabled为all时此值为true
(Inherited from LogManager.)
Public propertyError
错误记录
(Inherited from LogManager.)
Public propertyIsOwnner
是否具有所有者,当初始name为空时此值为false,否则为true
(Inherited from LogManager.)
Public propertyMessage
消息记录
(Inherited from LogManager.)
Public propertyName
名称
(Inherited from LogManager.)
Public propertyNewExceptionToMail
记录新异常时是否发送至邮件(若邮件已配置),默认开启
(Inherited from LogManager.)
Public propertyPath
存储路径
(Inherited from LogManager.)
Public propertyToConsole
是否输出至Console
(Inherited from LogManager.)
Public propertyWarning
警告记录
(Inherited from LogManager.)
Top
Events
  NameDescription
Public eventNewException
新异常
(Inherited from LogManager.)
Public eventWriting
新写入事件
(Inherited from LogManager.)
Top
See Also

Reference