Difference between revisions of "Extensions.Logging.WriteLog"

From emotive
Jump to navigation Jump to search
m (Hb moved page WriteLog to Extensions.Logging.WriteLog: #3153)
Line 1: Line 1:
[[Category:Logging]]
+
{{DISPLAYTITLE:'''WriteLog '''}}[[Category:Logging]]
 
== Classification ==
 
== Classification ==
{{ClassificationActivity | WriteLog | Writing a log message | [[Action]] | [[Logging|OTX Logging extension]] | [[Logging related actions]] | [[InvalidReferenceException]] | - }}
+
{{ClassificationActivity | WriteLog | Writing a log message | [[Action]] | [[Extensions.Logging|OTX Logging extension]] | [[Logging related actions]] | [[InvalidReferenceException]] | - }}
  
 
== OTL Syntax ==
 
== OTL Syntax ==
Line 9: Line 9:
  
 
== Description ==
 
== Description ==
With the '''WriteLog''' activity a log message is written by the OTX runtime environment at the end of a log file, see [[Logging]].
+
With the '''WriteLog''' activity a log message is written by the OTX runtime environment at the end of a log file, see [[Extensions.Logging|Logging]].
  
 
== Properties ==
 
== Properties ==
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie1| Level | [[SeverityLevel]] | [[Value]] | @SeverityLevel:TRACE | [1] | Severity level with the following values, see [[Logging]].}}
+
{{TableRowPropertie1| Level | [[SeverityLevel]] | [[Value]] | @SeverityLevel:TRACE | [1] | Severity level with the following values, see [[Extensions.Logging|Logging]].}}
{{TableRowPropertie2| Target | [[String]] | [[Term]] | - | [0..1] | Location of the log file (URL)}}
+
{{TableRowPropertie2| Target | [[Core.DataTypes.SimpleDataType.String|String]] | [[Term]] | - | [0..1] | Location of the log file (URL)}}
{{TableRowPropertie1| Message | [[String]] | [[Term]] | - | [0..1] | Message being written}}
+
{{TableRowPropertie1| Message | [[Core.DataTypes.SimpleDataType.String|String]] | [[Term]] | - | [0..1] | Message being written}}
 
|}
 
|}
  
Line 25: Line 25:
  
 
== See also ==
 
== See also ==
[[SetLogLevel]]
+
[[Extensions.Logging.SetLogLevel|SetLogLevel]]

Revision as of 01:37, 16 February 2016

Classification

Name WriteLog
Short Description Writing a log message
Class Action
Extension OTX Logging extension
Group Logging related actions
Exceptions InvalidReferenceException
Checker Rules -
Standard Compliant Yes

OTL Syntax

Logging.WriteLog(SeverityLevel, StringTerm, StringTerm);

Description

With the WriteLog activity a log message is written by the OTX runtime environment at the end of a log file, see Logging.

Properties

Name Data Type Class Default Cardinality Description
Level SeverityLevel Value @SeverityLevel:TRACE [1] Severity level with the following values, see Logging.
Target String Term - [0..1] Location of the log file (URL)
Message String Term - [0..1] Message being written

OTL Examples

Logging.WriteLog(@SeverityLevels:TRACE, null, null);

See also

SetLogLevel