Changes
The WriteLogEntry Activity writes a log message to the {{UBIK}} logging mechanism.
= Description =
{{ActivityInfoBox
| title = Write Log Entry
| version = 2.3+
}}
===Arguments===
{| class="wikitable sortable" | width = "50%"
|-
|}
===Usage===
This activity is typically used to write information into a log file to document certain events like failures together with object properties etc. during the execution of a workflow. The location for this logfile can be configured by the user by editing the [[Web_Service_Configuration| Web Service Configuration]] in section [[Web_Service_Configuration_Example#loggingConfiguration|loggingConfiguration]]. For configuring the logging in UBIK.Studio, the section [[Web_Service_Configuration_Example#loggingConfiguration|loggingConfiguration]] also exists in the Application Config file.
{{Hint|Once your workflow runs smoothly, consider removing frequently appearing log entries you needed during the design phase. Please be aware that the intense use of log output needs system resources and can generate confusing amounts of information!}}
Output the number of MetaClasses that derive (direct and indirect) from the MetaClass of a given object:
| Text || <source lang = "vbnet">UBIKObject.MetaClass.AllDerivates.Count.ToString()</source>
|}
{{ActivityClose}}
==See also==