JHLogger Methods

DCSoft.DBUtilityGeneric

JHLogger Methods

The JHLogger type exposes the following members.

Methods
  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)
Public method Static member Writer(String, Exception)
向指定的根目录下写入日志文件 文件存放方式:日志根目录/当前年份/当前年份-当前月份/当前年-月-日.txt 示例:F:\Logger\2012\2012-02\2012-02-15.txt
Public method Static member Writer(String, String)
向指定的根目录下写入日志文件 文件存放方式:日志根目录/当前年份/当前年份-当前月份/当前年-月-日.txt 示例:F:\Logger\2012\2012-02\2012-02-15.txt
Public method Static member WriterExecute(Exception)
针对 Exe 程序写入日志,日志存放在 Exe 程序启动目录下的 Logger 文件夹下 文件存放方式:Exe 根目录/Logger/当前年份/当前年份-当前月份/当前年-月-日.txt 示例:F:\Exe程序\Logger\2012\2012-02\2012-02-15.txt
Public method Static member WriterExecute(String)
针对 Exe 程序写入日志,日志存放在 Exe 程序启动目录下的 Logger 文件夹下 文件存放方式:Exe 根目录/Logger/当前年份/当前年份-当前月份/当前年-月-日.txt 示例:F:\Exe程序\Logger\2012\2012-02\2012-02-15.txt
Top
See Also