LogWriter Constructor (String, String) |
初始化
Namespace: AdfAssembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax public LogWriter(
string name,
string path
)
Public Sub New (
name As String,
path As String
)
public:
LogWriter(
String^ name,
String^ path
)
new :
name : string *
path : string -> LogWriter
Parameters
- name
- Type: SystemString
[Missing <param name="name"/> documentation for "M:Adf.LogWriter.#ctor(System.String,System.String)"]
- path
- Type: SystemString
当为Null Or Empty时,若配置(AppSetting)Log:Path:name或Log:Path则为配置值,否则以当前应用程序目录下Log为目录
See Also