:html
:Revision=1
<<
128.184
Log-Objekt|Log
$NoSort
--
The IP object <!RW>Log enables the logging of messages from interpreter steps in a log file.
>>

<<
128.184.1
Procedures of the Log-Object|Procedures
--
>>
<<
128.184.1.1
Log.Add|Add
--
<!DEF>
procedure <!TW>Log.Add (sObject : string, rLevel : real; rDirection : real; sInfo : String; rFormat : real; sMessage : string);
<!TXT>
Create a new entry in the DUT - Log.

 <!PW>sObject: determines the log object

 <!PW>rLevel determines the log level:

<!STBL>
<!+>Wert<!+>Value<!>
<!c>0<!>Debug<!>
<!c>1<!>BusLog<!>
<!c>2<!>Info<!>
<!c>2<!>Warning<!>
<!c>2<!>Error<!>
<!ETBL>

 <!PW>rDirection determines the log direction:

<!STBL>
<!+>Wert<!+>Value<!>
<!c>0<!>undefined<!>
<!c>1<!>Send<!>
<!c>2<!>Receive<!>
<!ETBL>

 <!PW>sInfo: optional text 

 <!PW>rFormat determines the log format:

<!STBL>
<!+>Wert<!+>Value<!>
<!c>0<!>ASCII<!>
<!c>1<!>Hex<!>
<!ETBL>

 <!PW>sMessage: contains the actual log message 
>>