类库说明文档
JHLoggerWriter Method (String, String) |
向指定的根目录下写入日志文件
文件存放方式:日志根目录/当前年份/当前年份-当前月份/当前年-月-日.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, string message )
Parameters
- baseDirectoryPath
- Type: SystemString
日志根目录 - message
- Type: SystemString
日志内容
See Also