summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core.c10
-rw-r--r--src/log.c7
2 files changed, 14 insertions, 3 deletions
diff --git a/src/core.c b/src/core.c
index 88979bb..79b9d6e 100644
--- a/src/core.c
+++ b/src/core.c
@@ -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; }
diff --git a/src/log.c b/src/log.c
index e69de29..f0dfd87 100644
--- a/src/log.c
+++ b/src/log.c
@@ -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);
+}