<< Click to Display Table of Contents >>

Log

This class provides methods related to the log function of OZ Server.


Constructor Detail

Log

public Log(string url, string id, string pw, bool autoLogin, bool useUSL)

Performs the processing related to OZ server Log Manager and configures the settings for recording the various messages, information, and errors, etc. arising during server operation.

Parameters:

url - URL of OZ Server

id - User ID

pw - User Password

autoLogin - Whether to use the AutoLogin

useUSL - Whether to use the USL


Method Detail

GetConfiguration

public string GetConfiguration() throws OZAPIException

Gets the log configurations from the server.

DownloadLog

public Stream DownloadLog() throws OZAPIException

Downloads the log file from the server.

DownloadLog

public Stream DownloadLog(string fileName) throws OZAPIException

Saves the log file downloaded from the server to the local.

Parameters:

fileName - The name of the file to save

SetConfiguration

public void SetConfiguration(string logs) throws OZAPIException

Changes the log configuration values.

Parameters:

logs - The log configuration value to modify, set in the form of "key=value"

GetFileNames

public string[] GetFileNames() throws OZAPIException

Gets the created log file.