Files
vimix/Log.h
brunoherbelin b86b76fa54 New : implementation of Log::Notify. Displays the message as a
notification on top of the screen before logging.
2020-05-19 00:05:30 +02:00

19 lines
379 B
C++

#ifndef __LOG_H_
#define __LOG_H_
namespace Log
{
// log
void Info(const char* fmt, ...);
void Notify(const char* fmt, ...);
void Warning(const char* fmt, ...);
void Error(const char* fmt, ...);
// Draw logs
void ShowLogWindow(bool* p_open = nullptr);
void Render(bool showNofitications = true, bool showWarnings = true);
}
#endif // __LOG_H_