Interface: Console


CloudControl Pro 9 Docs / globals / Console

Interface: Console

globals.Console

Table of contents

Methods

Methods

setLogFilePath

setLogFilePath(file): void

Add the setLogFilePath function to the console to set the log path. Logs of all scripts will be output to this path after setting.

Example

"nodejs";

console.setLogFilePath('/sdcard/log.txt');
console.log("Hello");

Parameters

Name Type
file string

Returns

void