Changes

→‎Logging: Adding "Where to Find the Log File" section.
Line 26: Line 26:  
<span style="color:red;">[18:00:00 ERROR Mod Name] an error message</span>
 
<span style="color:red;">[18:00:00 ERROR Mod Name] an error message</span>
 
</div>
 
</div>
 +
 +
===Where to Find the Log File===
 +
 +
The log file exists in different locations based on your operating system:
 +
 +
Windows (Steam/GOG): <span style="font-family: monospace;">%appdata%\StardewValley\ErrorLogs\SMAPI-latest.txt</span>
 +
 +
Windows (Xbox app): <span style="font-family: monospace;">%localappdata%\Packages\ConcernedApe.StardewValleyPC_0c8vynj4cqe4e\LocalCache\Roaming\StardewValley\ErrorLogs\SMAPI-latest.txt</span>
 +
 +
macOS: <span style="font-family: monospace;">~/.config/StardewValley/ErrorLogs/SMAPI-latest.txt</span>
 +
 +
Linux: <span style="font-family: monospace;">~/.config/StardewValley/ErrorLogs/SMAPI-latest.txt</span>
 +
 +
Android: Find the <span style="font-family: monospace;">SMAPI-latest.txt</span> file in the <span style="font-family: monospace;">StardewValley/ErrorLogs</span> folder on your internal storage.
 +
 +
If Stardew Valley crashed, the log file will be named <span style="font-family: monospace;">SMAPI-crash.txt</span> instead of <span style="font-family: monospace;">SMAPI-latest.txt</span>.
    
===Log levels===
 
===Log levels===
32

edits