diff --git a/docs/custom-doodads/api-reference.md b/docs/custom-doodads/api-reference.md index 4a50f28..d272d0e 100644 --- a/docs/custom-doodads/api-reference.md +++ b/docs/custom-doodads/api-reference.md @@ -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!"); diff --git a/docs/hacking.md b/docs/hacking.md index 5d6a852..78a9fae 100644 --- a/docs/hacking.md +++ b/docs/hacking.md @@ -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.