Sets the detail level of information written to the output console and log file.

Namespace: psai.net
Assembly: psaiCoreDotNet (in psaiCoreDotNet.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public bool SetLogLevel(
	LogLevel newLogLevel
)

Parameters

newLogLevel
Type: psai.net..::..LogLevel
the desired level of logging information

Return Value

Type: Boolean
PsaiResult.OK if successful

Remarks

LogLevel.errors will only report severe errors, whereas LogLevel.warnings will display errors and warnings. LogLevel.info will report errors, warnings and general information about calls to the psai API.

See Also