JHLogger.Writer Method (String, Exception)

DCSoft.DBUtilityGeneric

JHLoggerWriter Method (String, Exception)
向指定的根目录下写入日志文件 文件存放方式:日志根目录/当前年份/当前年份-当前月份/当前年-月-日.txt 示例:F:\Logger\2012\2012-02\2012-02-15.txt

Namespace: DCSoft.Utility
Assembly: DCSoft.Utility (in DCSoft.Utility.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
public static void Writer(
	string baseDirectoryPath,
	Exception exception
)

Parameters

baseDirectoryPath
Type: SystemString
日志根目录
exception
Type: SystemException
异常对象
See Also