diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index dedaf55..bdbaea8 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -13,6 +13,10 @@ A clear and concise description of what the bug is. **On which mod** Paste the link of the mod here +**Log file** +Paste the log file here (you can find it at /config/SimpleModDownloader/log.log) +Don't launch the app again before pasting the log file, it will be overwritten + **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' diff --git a/source/main.cpp b/source/main.cpp index 68214a3..b539be1 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -17,8 +17,8 @@ int main(int argc, char* argv[]) { std::filesystem::create_directories("sdmc:/config/SimpleModDownloader"); //Using FILE* because brls::Logger::setLogOutput only takes FILE*, not std::ofstream - // FILE* logFile = fopen("sdmc:/config/SimpleModDownloader/log.log", "w"); - // brls::Logger::setLogOutput(logFile); + FILE* logFile = fopen("sdmc:/config/SimpleModDownloader/log.log", "w"); + brls::Logger::setLogOutput(logFile); { cfg::Config config;