LogWrite

Metreos.Native.Log.Write

Summary

Write will write a line to the Cisco Unified Application Server log.

Usage

The Write action gives the developer three important parameters to control the log. The LogLevel determines what log level should be given to the statement. Depending on the log level filter currently configured on the Cisco Unified Application Server, the log may or may not show in the server log. For instance, if a Verbose log statement is written, but the log level filter is set to Error, then the log will not show. Because all applications emit to the same Cisco Unified Application Server log, the ApplicationName parameter is optionally available to help distinguish the origin of log statements. If specified, the log statement will be preceded with Application: [VALUE].

Remarks

None.

Action Parameters
Parameter Name.NET TypeDefaultDescription
Message *System.StringThe message to write to the log.
LogLevel *System.StringThe log level, which can be one of following values:
Verbose

Verbose generally indicates that the log statement is related to debug and diagnosis information for the application.

Info

Info generally indicates thta the log statement is related to basic function of the application.

Warning

Warning generally indicates that a potential issue or edge condition has occurred, although not necessarily an error in the application.

Error

Error generally indicates that the application has malfunctioned.

Off

Off will not be logged.

ApplicationNameSystem.StringThe application name to indicate as the source of the message.

No Result Data

Branch Conditions 

Success

No description.

Failure

No description.