 | UtilsWriteLog Method (String, String, String, Int32, Int32, String) |
로그기록 txt 파일 생성
Namespace:
Mcc.Series.Common
Assembly:
Mcc.Series.Common (in Mcc.Series.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static string WriteLog(
string filePath,
string fileName,
string text,
int nameMode,
int logEmplNo,
string logEmplNm
)
Parameters
- filePath
- Type: SystemString
파일경로 - fileName
- Type: SystemString
파일명 - text
- Type: SystemString
로그기록 - nameMode
- Type: SystemInt32
파일명 생성모드 (0:날짜추가없음, 1:자동으로날짜추가) - logEmplNo
- Type: SystemInt32
기록자 사번 - logEmplNm
- Type: SystemString
기록자 이름
Return Value
Type:
String작업결과 여부 (null : 성공, 그외의 문자열 : 에러메세지)
See Also