Skip to content

Commit

Permalink
Fixed a small bug in ConsoleLoggerService
Browse files Browse the repository at this point in the history
  • Loading branch information
end2endzone committed Sep 28, 2024
1 parent 25ca469 commit 77d23ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/ConsoleLoggerService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ namespace shellanything

const char * level_str = GetLevelString(level);
std::string log_time = GetLogTimestamp();
DWORD dwThreadId = GetThreadId(NULL);
DWORD dwThreadId = GetCurrentThreadId();
std::string actual_filename = ra::filesystem::GetFilename(filename);

std::cout << level_str << " " << log_time << " " << dwThreadId << " " << actual_filename << ":" << line << "] " << message << "\n";
Expand Down

0 comments on commit 77d23ba

Please sign in to comment.