Click or drag to resize
LogWriter Methods

The LogWriter type exposes the following members.

Methods
  NameDescription
Protected methodBuildPath
获取日志路径
Protected methodBuildPath(String)
获取日志路径
Public methodDispose
资源释放
Public methodEquals
确定指定的 Object 是否等于当前的 Object
(Inherited from Object.)
Protected methodFinalize
允许 Object 在“垃圾回收”回收 Object 之前尝试释放资源并执行其他清理操作。
(Inherited from Object.)
Public methodFlush
刷新缓冲区
Protected methodFlush(String, String)
刷新缓冲区
Public methodGetHashCode
用作特定类型的哈希函数。
(Inherited from Object.)
Public methodGetType
获取当前实例的 Type
(Inherited from Object.)
Public methodLine Obsolete.
写入空行
Public methodLine(String, Object) Obsolete.
按行写入记录
Protected methodMemberwiseClone
创建当前 Object 的浅表副本。
(Inherited from Object.)
Protected methodOnWriting
触发写入事件
Public methodPack Obsolete.
记录一个打包的格式化日志记录
Public methodTimeLine Obsolete.
以时间起始的行
Protected methodTimerCallback
缓冲区刷新回调
Public methodToString
返回表示当前 ObjectString
(Inherited from Object.)
Public methodWrite
写入内容
Public methodWriteLine
写入空行
Public methodWriteLine(String, Object)
按行写入记录
Public methodWritePack
记录一个打包的格式化日志记录
Public methodWriteTimeLine
以时间起始的行
Top
See Also