16 lines
400 B
C
16 lines
400 B
C
// #TODO #Logger module
|
|
// [ ] Add colored prints (See: Print_Color.jai)
|
|
|
|
// See Logger.jai in our jiim-dev-gui project for how to do fancy colored text.
|
|
enum class Log_Level : s32 {
|
|
TODO = -2,
|
|
Trace = -1;
|
|
None = 0,
|
|
Info = 1,
|
|
Warning = 2,
|
|
Error = 3,
|
|
Fatal_Error = 4,
|
|
};
|
|
|
|
// log_function pointer
|
|
typedef void (*Logger_Proc)(string log_message, ...); |