<commit_before><commit_msg>ADD: 누락된 DebugMacro.hpp 추가<commit_after>//	---------------------------------------------------------------------------------

//	|ǅ	:	DebugMacro.hpp

//	$	:	NEDebugManger| tǩt  T8| %\.

//	Ĭ	:	 | XՔ T.	#include "Kernal.hpp"

//	):	 T8ɔ printf ЅX 8D `  . 

//				\ ܴ̹ | l\ĳ ǔ t, m %

//				l\ \ tȬ\.

//	T	:	

//	פ Ѭ:	2011-05-29	t	 D̸

//	---------------------------------------------------------------------------------

#pragma once



#ifdef DEVELOPER

#	define	KERNAL_ERROR(printf_string, ...)	\

	Kernal::getInstance().getDebugManager().alert(Kernal::getInstance().getHeader(), NEResult::LEVEL_ERROR, \

	_T("\n-----------------------------------------------------------")## \

	_T("\n")##_T(printf_string)## \

	_T("\n-----------------------------------------------------------")## \

	_T("\ndomain :\tKernal")## \

	_T("\ntype :\t\tError")## \

	_T("\nfunction :\t")##_T(__FUNCSIG__)## \

	_T("\nline :\t\t%d ")## \

	_T("\n")##_T(__FILE__)##_T("(%d)")## \

	_T("\n-----------------------------------------------------------\n"), \

	__VA_ARGS__, __LINE__, __LINE__);



#	define	KERNAL_WARNING(printf_string, ...)	\

	Kernal::getInstance().getDebugManager().alert(Kernal::getInstance().getHeader(), NEResult::LEVEL_WARNING, \

	_T("\n-----------------------------------------------------------")## \

	_T("\n")##_T(printf_string)## \

	_T("\n-----------------------------------------------------------")## \

	_T("\ndomain :\tKernal")## \

	_T("\ntype :\t\tWarning")## \

	_T("\nfunction :\t")##_T(__FUNCSIG__)## \

	_T("\nline :\t\t%d ")## \

	_T("\n")##_T(__FILE__)##_T("(%d)")## \

	_T("\n-----------------------------------------------------------\n"), \

	__VA_ARGS__, __LINE__, __LINE__);

	

#	define	KERNAL_INFORMATION(printf_string, ...)	\

	Kernal::getInstance().getDebugManager().alert(Kernal::getInstance().getHeader(), NEResult::LEVEL_INFORMATION, \

	_T("\n-----------------------------------------------------------")## \

	_T("\n")##_T(printf_string)## \

	_T("\n-----------------------------------------------------------")## \

	_T("\ndomain :\tKernal")## \

	_T("\ntype :\t\tInformation")## \

	_T("\nfunction :\t")##_T(__FUNCSIG__)## \

	_T("\nline :\t\t%d ")## \

	_T("\n")##_T(__FILE__)##_T("(%d)")## \

	_T("\n-----------------------------------------------------------\n"), \

	__VA_ARGS__, __LINE__, __LINE__);

	

#	define	ALERT_ERROR(printf_string, ...)	\

	Kernal::getInstance().getDebugManager().alert(getHeader(), NEResult::LEVEL_ERROR, \

	_T("\n-----------------------------------------------------------")## \

	_T("\n")##_T(printf_string)## \

	_T("\n-----------------------------------------------------------")## \

	_T("\ndomain :\tKernal")## \

	_T("\ntype :\t\tError")## \

	_T("\nfunction :\t")##_T(__FUNCSIG__)## \

	_T("\nline :\t\t%d ")## \

	_T("\n")##_T(__FILE__)##_T("(%d)")## \

	_T("\n-----------------------------------------------------------\n"), \

	__VA_ARGS__, __LINE__, __LINE__);

	

#	define	ALERT_WARNING(printf_string, ...)	\

	Kernal::getInstance().getDebugManager().alert(getHeader(), NEResult::LEVEL_WARNING, \

	_T("\n-----------------------------------------------------------")## \

	_T("\n")##_T(printf_string)## \

	_T("\n-----------------------------------------------------------")## \

	_T("\ndomain :\tKernal")## \

	_T("\ntype :\t\tWarning")## \

	_T("\nfunction :\t")##_T(__FUNCSIG__)## \

	_T("\nline :\t\t%d ")## \

	_T("\n")##_T(__FILE__)##_T("(%d)")## \

	_T("\n-----------------------------------------------------------\n"), \

	__VA_ARGS__, __LINE__, __LINE__);

	

#	define	ALERT_INFORMATION(printf_string, ...) \

	Kernal::getInstance().getDebugManager().alert(getHeader(), NEResult::LEVEL_INFORMATION, \

	_T("\n-----------------------------------------------------------")## \

	_T("\n")##_T(printf_string)## \

	_T("\n-----------------------------------------------------------")## \

	_T("\ndomain :\tKernal")## \

	_T("\ntype :\t\tInformation")## \

	_T("\nfunction :\t")##_T(__FUNCSIG__)## \

	_T("\nline :\t\t%d ")## \

	_T("\n")##_T(__FILE__)##_T("(%d)")## \

	_T("\n-----------------------------------------------------------\n"), \

	__VA_ARGS__, __LINE__, __LINE__);

	

#	define	ALERT_ERROR_IN_SPECIFIED_MODULE(identifier, printf_string, ...)	\

	Kernal::getInstance().getDebugManager().alert((identifier), NEResult::LEVEL_ERROR, \

	_T("\n-----------------------------------------------------------")## \

	_T("\n")##_T(printf_string)## \

	_T("\n-----------------------------------------------------------")## \

	_T("\ndomain :\tKernal")## \

	_T("\ntype :\t\tError")## \

	_T("\nfunction :\t")##_T(__FUNCSIG__)## \

	_T("\nline :\t\t%d ")## \

	_T("\n")##_T(__FILE__)##_T("(%d)")## \

	_T("\n-----------------------------------------------------------\n"), \

	__VA_ARGS__, __LINE__, __LINE__);

	

#	define	ALERT_WARNING_IN_SPECIFIED_MODULE(identifier, printf_string, ...)	\

	Kernal::getInstance().getDebugManager().alert((identifier), NEResult::LEVEL_WARNING, \

	_T("\n-----------------------------------------------------------")## \

	_T("\n")##_T(printf_string)## \

	_T("\n-----------------------------------------------------------")## \

	_T("\ndomain :\tKernal")## \

	_T("\ntype :\t\tWarning")## \

	_T("\nfunction :\t")##_T(__FUNCSIG__)## \

	_T("\nline :\t\t%d ")## \

	_T("\n")##_T(__FILE__)##_T("(%d)")## \

	_T("\n-----------------------------------------------------------\n"), \

	__VA_ARGS__, __LINE__, __LINE__);

	

#	define	ALERT_INFORMATION_IN_SPECIFIED_MODULE(identifier, printf_string, ...)	\

	Kernal::getInstance().getDebugManager().alert((identifier), NEResult::LEVEL_INFORMATION, \

	_T("\n-----------------------------------------------------------")## \

	_T("\n")##_T(printf_string)## \

	_T("\n-----------------------------------------------------------")## \

	_T("\ndomain :\tKernal")## \

	_T("\ntype :\t\tInformation")## \

	_T("\nfunction :\t")##_T(__FUNCSIG__)## \

	_T("\nline :\t\t%d ")## \

	_T("\n")##_T(__FILE__)##_T("(%d)")## \

	_T("\n-----------------------------------------------------------\n"), \

	__VA_ARGS__, __LINE__, __LINE__);

	

#else

#	define	ALERT_ERROR(printf_string, ...)				;

#	define	ALERT_WARNING(printf_string, ...)			;

#	define	ALERT_INFORMATION(printf_string, ...)		;

#	define	KERNAL_ERROR(printf_string, ...)			;

#	define	KERNAL_WARNING(printf_string, ...)			;

#	define	KERNAL_INFORMATION(printf_string, ...)		;

#endif


{'fraction_non_alphanumeric': 0.7367926007211162, 'fraction_numerical': 0.0008622041072268381, 'mean_word_length': 3.579684134960517, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4446661', 'n_tokens_mistral': 12731, 'n_tokens_neox': 12734, 'n_words': 232}