Skip to content

Commit

Permalink
add log and update issue template
Browse files Browse the repository at this point in the history
  • Loading branch information
PoloNX committed Mar 3, 2024
1 parent d42bc48 commit d5ed5b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 '...'
Expand Down
4 changes: 2 additions & 2 deletions source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d5ed5b4

Please sign in to comment.