Tile - YDebug - Write To Log – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:


==== text ====
==== text ====
Texto print in to the log
=== Availability ===
[[Ylands:Tile Availability - Server|Server]], [[Ylands:Tile Availability - Custom Controller|Custom Controller]]


=== Description ===
=== Description ===


Adds '''text''' entry to '''game log''' file. All logs are automatically generated in the Ylands installation directory '''...\Ylands_Data'''. Owners of the server and game author can download '''Script logs''' from the server by typing '''/getuserscripts''' command to chat. These are downloaded to your Ylands profile '''...\local\FilesFromSessionHost\'''.
Adds '''text''' entry to '''game log''' file.
 
=== Notes ===
 
* All logs are automatically generated in the Ylands installation directory '''...\Ylands_Data'''.
* Owners of the server and game author can download '''Script logs''' from the server by typing '''/getuserscripts''' command to chat.
* Logs are downloaded to your Ylands profile **...\local\FilesFromSessionHost**.





Revision as of 12:15, 12 November 2021

Write To Log(Text)

YlandsTile-275.png

static log(text: any): void;

Parameters

text

Texto print in to the log

Availability

Server, Custom Controller

Description

Adds text entry to game log file.

Notes

  • All logs are automatically generated in the Ylands installation directory ...\Ylands_Data.
  • Owners of the server and game author can download Script logs from the server by typing /getuserscripts command to chat.
  • Logs are downloaded to your Ylands profile **...\local\FilesFromSessionHost**.