diff --git a/src/player.cpp b/src/player.cpp index 494f09a052..eedb575968 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -16,7 +16,6 @@ */ // Headers - #include #include #include @@ -81,6 +80,7 @@ #include "instrumentation.h" #include "transition.h" #include +#include #include "baseui.h" #include "game_clock.h" #include "message_overlay.h" @@ -152,6 +152,10 @@ namespace { } void Player::Init(std::vector args) { + lcf::LogHandler::SetHandler([](lcf::LogHandler::Level level, StringView message, lcf::LogHandler::UserData) { + Output::Debug("lcf ({}): {}", lcf::LogHandler::kLevelTags.tag(level), message); + }); + frames = 0; // Must be called before the first call to Output