Skip to content

Instantly share code, notes, and snippets.

@mrowrpurr
Created December 7, 2022 03:08
Show Gist options
  • Select an option

  • Save mrowrpurr/ff63297ae3897f3b7b581275082f1ebb to your computer and use it in GitHub Desktop.

Select an option

Save mrowrpurr/ff63297ae3897f3b7b581275082f1ebb to your computer and use it in GitHub Desktop.
template <class... Types>
void Log(const std::string text, const Types&... args) {
std::string result = std::format(text, args...);
// logger::info("{}", result);
// RE::ConsoleLog::GetSingleton()->Print(std::format("[SkyrimScripting] {}", result).c_str());
// std::cout << result << std::endl;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment