<< Click to Display Table of Contents >>
Log
오즈 서버 로그 기능과 관련된 메소드를 제공하는 클래스입니다.
Constructor Detail
Log
public Log(string url, string id, string pw, bool autoLogin, bool useUSL)
오즈 서버 로그 매니저와 관련된 처리를 수행하며 서버 운용시 발생되는 각종 메시지, 정보, 에러 등을 기록하기 위한 환경 설정을 변경합니다.
Parameters:
url - HTTP 방식 오즈 서버의 URL
id - 사용자 아이디
pw - 사용자 패스워드
autoLogin - 자동 로그인 여부
useUSL - USL 사용 여부
Method Detail
GetConfiguration
public string GetConfiguration() throws OZAPIException
로그 설정을 서버로부터 가져옵니다.
DownloadLog
public Stream DownloadLog() throws OZAPIException
서버로부터 로그 파일을 다운로드합니다.
DownloadLog
public Stream DownloadLog(string fileName) throws OZAPIException
서버로부터 다운로드한 로그 파일을 로컬에 저장합니다.
Parameters:
fileName - 저장할 파일명
SetConfiguration
public void SetConfiguration(string logs) throws OZAPIException
로그 환경 설정 값을 변경합니다.
Parameters:
logs - 변경할 로그 환경 설정 값, "key=value" 형식으로 설정
GetFileNames
public string[] GetFileNames() throws OZAPIException
생성된 로그 파일명을 가져옵니다.