feat: Print using log.c
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#include "raylib.h"
|
||||
#include <iostream>
|
||||
#include <assert.h>
|
||||
#include "log/log.h"
|
||||
|
||||
void ScriptBindings::RegisterAll(asIScriptEngine* engine) {
|
||||
// Register Print function
|
||||
@@ -16,7 +17,7 @@ void ScriptBindings::RegisterAll(asIScriptEngine* engine) {
|
||||
}
|
||||
|
||||
void ScriptBindings::Print(const std::string &msg) {
|
||||
std::cout << "[Script] " << msg << std::endl;
|
||||
log_info("%s", msg.c_str());
|
||||
}
|
||||
|
||||
Color ColorFromUInt(unsigned int c) {
|
||||
|
||||
Reference in New Issue
Block a user