User Tools

Site Tools


logtext

Table of Contents

LogText

The LogText prints information to the log output. The function returns false if no arguments are passed.

Syntax

bool: LogText(string textToLog [, bool logdate=false])

Examples

var result = LogText();
// result: false

var result = LogText("Test");
// result: true, logs text "Test"

var result = LogText("Test", true);
// result: true, logs text "2016-09-01 10:11:12: Test"
logtext.txt · Last modified: 2016/09/05 18:19 by act