The mod provides three triggers for submitting a log:
pressing a hotkey at any time (default disabled).
holding down a modifier key (default Left Alt) and pressing the Pufferchick icon that appears in the top-left of the screen.
When SMAPI detects a fatal error and the game shuts down (in cases where SMAPI doesn't catch the error, this probably won't work).
In each of the above cases, the mod will ask your computer to open your default web browser and submit the log to SMAPI.io using a temporary HTML form.
Technical
Requires SMAPI, uses Harmony.
Implements a Generic Mod Config Menu interface to change config settings in-game.
Compatible with Mod Updater for automatic updates.
Code is at https://github.com/aedenthorn/StardewValleyMods.
If you want to complain or ask for help or help me test my mods, you can visit my Discord server.
A list of all my mods for Stardew Valley is available at https://www.nexusmods.com/stardewvalley/articles/895.