Rushwind13 / JMoria

My from-scratch implementation of a Roguelike game that will be an homage to IMoria
4 stars 4 forks source link

feat: Logging #51

Closed Rushwind13 closed 1 month ago

Rushwind13 commented 1 month ago

added JLog() function to manage all the printf()s global g_eLogLevel can be set in test (LOG_LEVEL_DEBUG) different from main (LOG_LEVEL_WARN)

JLog( log_level, true, "thing I am logging: %s\n", that_string);