Skip to content

Commit

Permalink
feat: Include the current Lampray version in the log for debugging (#140
Browse files Browse the repository at this point in the history
)

Add a line near the beginning of the log file, and in the output,
containing the current Lampray version string (pulled from
`Lampray/Filesystem/lampFS.h`).

This should be helpful in determining if a reported issue is from a
current or outdated version of Lampray.
  • Loading branch information
SnazzyPanda authored Apr 4, 2024
1 parent c90e038 commit 99c0201
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ int main(int, char**)
file.close();

Lamp::Core::Base::lampLog::getInstance().log(Lamp::Core::lampControl::getFormattedTimeAndDate()+" | | Battle Control Online, Welcome Back Commander.", Lamp::Core::Base::lampLog::LOG);
Lamp::Core::Base::lampLog::getInstance().log("Lampray version: " + Lamp::Core::FS::lampUpdate::getInstance().versionNumber);

Lamp::Games::getInstance();

Expand Down

0 comments on commit 99c0201

Please sign in to comment.