Fix absolute to relative links
This commit is contained in:
parent
02ea89a96e
commit
bf93fab095
|
@ -168,7 +168,7 @@ The `time` global exposes the following duration intervals as seen in the above
|
|||
|
||||
## Console Logging
|
||||
|
||||
Like in node.js and the web browser, `console.log` and friends are available for logging from a doodad script. Logs are emitted to the same place as the game's logs are (e.g. standard output and to your [profile directory](/profile-directory.html)).
|
||||
Like in node.js and the web browser, `console.log` and friends are available for logging from a doodad script. Logs are emitted to the same place as the game's logs are (e.g. standard output and to your [profile directory](../profile-directory.html)).
|
||||
|
||||
```javascript
|
||||
console.log("Hello world!");
|
||||
|
|
|
@ -6,7 +6,7 @@ I've always loved it when developers keep debugging features in their released g
|
|||
|
||||
## Log File
|
||||
|
||||
The game emits logs during its runtime to standard output. Launching the game from within a terminal on Linux or macOS will show the logs there, color coded by error level. The log from the most recent run of the game is also saved to your [profile directory](/profile-directory.html), which may be the only way to see the logs on a Windows machine.
|
||||
The game emits logs during its runtime to standard output. Launching the game from within a terminal on Linux or macOS will show the logs there, color coded by error level. The log from the most recent run of the game is also saved to your [profile directory](../profile-directory.html), which may be the only way to see the logs on a Windows machine.
|
||||
|
||||
When custom doodad scripts use `console.log()` and similar, their logs are also written to this file, and it can be useful when debugging your custom doodad scripts.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user