plugy/PlugY/error.h

23 lines
660 B
C
Raw Normal View History

/*==============================================
File created by Yohann NICOLAS.
@file error.hpp
@brief Error logger definition.
2021-01-04 07:07:29 +00:00
This file defiens various functions related to
error handling in D2External functions.
==============================================*/
2017-01-23 19:34:12 +00:00
#pragma once
#include <windows.h>
2021-01-04 07:07:29 +00:00
extern int active_logFile;
void log_initfile();
2021-01-04 07:07:29 +00:00
void log_close();
void log_box( const char* pFormat, ... );
void log_msg( const char* pFormat, ... );
void d2_assert( bool pCondition, char* pLocation, char* pMessage, int pLineNbr );
2017-01-23 19:34:12 +00:00
/*================================= END OF FILE =================================*/