Tile - YDebug - Write To Log – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
(Replaced content with "Image:Ylands_Tile_-_Write_to_log.png")
Tag: Replaced
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Image:Ylands_Tile_-_Write_to_log.png]]
<!---
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
-->
== Write To Log(Text) ==
 
[[File:YlandsTile-275.png]]
 
<pre>static log(text: any): void;</pre>
=== Parameters ===
 
==== text ====
 
Texto print in to the log
 
=== Availability ===
 
[[Ylands:Tile Availability - Server|Server]], [[Ylands:Tile Availability - Custom Controller|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**.
 
 
----
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}
 
[[Category: Instructions]]

Latest revision as of 15:27, 24 November 2023

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**.