38 auto& lua = entt::locator<sol::state>::value();
51 lua.set_function(
"galaxy_log_physfs_check", sol::resolve<
bool(
const int)>(
log::physfs_check));
#define GALAXY_INFO
Log.hpp galaxy.
#define GALAXY_LOG(level, msg,...)
static void inject_logging() noexcept
Injects logging into Lua.
bool physfs_check(const int code) noexcept
Call a physfs function with error handling and logs a message for you.
void log_wrapper(LogLevel error_level, std::string_view message)
LogLevel
Used to determine filtering and colouring of log messages.
@ WARNING
Warning Log Level.