diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core.c | 10 | ||||
-rw-r--r-- | src/log.c | 7 |
2 files changed, 14 insertions, 3 deletions
@@ -2,10 +2,14 @@ #include <celeritas.h> -void Core_Bringup(const char* window_name) { +NAMESPACED_LOGGER(core); + +void Core_Bringup(const char* window_name, struct GLFWwindow* optional_window) { // INFO("Initiate Core bringup"); - printf("Initiate core bringup\n"); + INFO("Initiate Core bringup"); - printf("Create GLFW window\n"); + INFO("Create GLFW window"); } void Core_Shutdown() {} + +bool AppShouldExit() { return true; } @@ -0,0 +1,7 @@ +#include <celeritas.h> + +void log_output(char* module, LogLevel level, const char* message, ...) { + char out_msg[4096]; + + printf("Msg: %s\n", message); +} |