Modding talk:Modder Guide/APIs/Logging

From Stardew Valley Wiki
Jump to navigation Jump to search
This talk page is for discussing Modding:Modder Guide/APIs/Logging.
  • Sign and date your posts by typing four tildes (~~~~).
  • Put new text below old text.
  • Be polite.
  • Assume good faith.
  • Don't delete discussions.

Add log location & example

I'm an experienced programmer and technical writer but completely new to Stardew Valley modding. From the viewpoint of someone who isn't used to modding, a lot of things that are obvious to experienced modders aren't obvious to me. In this case, having the actual location and filename of the log file absent from the Logging page really stuck out.

Also, having an example output of the log really helps give an idea of what the log file "looks like" and can help confirm that modders are looking at the correct file.

I'd like to add both of this information back to the Logging page. —AlSweigart (talk) 11:29, 25 February 2022 (UTC)

Hi! The log location is documented at smapi.io/log, which is linked from the FAQs section I just added. Both the location and format can change over time (e.g. as the game is released to new platforms), so it's better not to duplicate them on the logging API page. The new FAQs section suggests uploading your current log file to see a sample. —Pathoschild (talk) 16:45, 25 February 2022 (UTC)