User Tools

Site Tools


logtext

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

logtext [2016/09/05 18:15]
act created
logtext [2016/09/05 18:19] (current)
act
Line 1: Line 1:
 +====== LogText ======
 +The ''​LogText''​ prints information to the log output. The function returns ''​false''​ if no arguments are passed.
  
 +==== Syntax ====
 +<​code>​
 +bool: LogText(string textToLog [, bool logdate=false])
 +</​code>​
  
 +==== Examples ====
 <​code>​ <​code>​
-bool%1(string textToLog [bool logdate=false])+var result = LogText();​ 
 +// resultfalse 
 + 
 +var result = LogText("​Test"​);​ 
 +// result: truelogs text "​Test"​ 
 + 
 +var result ​LogText("​Test",​ true)
 +// result: true, logs text "​2016-09-01 10:11:12: Test"
 </​code>​ </​code>​
logtext.txt · Last modified: 2016/09/05 18:19 by act