Tile - YDebug - Write To Log – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (YlandsClassyBot moved page Ylands Tile - Write to log to Ylands:Tile - YDebug - Write To Log: New Structure)
No edit summary
Line 1: Line 1:
[[Image:Ylands_Tile_-_Write_to_log.png]]
<!---
*Adds '''text''' entry to '''game log''' file.
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
-->
== Write To Log(Text) ==


==== Single player / Playtest (Editor) ====
[[File:YlandsTile-275.png]]
*All logs are automatically generated in the Ylands installation directory '''...\Ylands_Data'''
**'''log_userscripts.txt''' - current userscript log
**'''userscript.js''' - currently running userscript code (this can be used to learn what [[Ylands Text scripting introduction|Ylands Text Scripting]] would be needed to get the same result as the [[Ylands Visual scripting introduction|Visual Scripting]] being tested)
**'''output_log.txt''' - Unity log
**'''output_log_clean.txt''' - Ylands log


==== Dedicated Servers (Multiplayer) ====
<pre>static log(text: any): void;</pre>
*Owners of the server and game author can download Script logs from the server by typing '''/getuserscripts''' command to chat
=== Parameters ===
*Logs are  downloaded to your Ylands profile '''...\local\FilesFromSessionHost\'''


=Notes=
==== text ====
*'''Steam User data''': <SteamFolder>\userdata\<Your ID>\298610\
 
*'''Steam Ylands installation''': <SteamFolder>\steamapps\common\Ylands\
=== Description ===
*Each line written to the log will begin with #. The log also includes warnings and errors with ## and game start and game stop times with ###.
 
*Game log is kept only until next Ylands launch.
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\'''.




Line 25: Line 21:


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 0.10]]

Revision as of 09:52, 8 July 2021

Write To Log(Text)

YlandsTile-275.png

static log(text: any): void;

Parameters

text

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