Fixes
This commit is contained in:
@ -22,7 +22,29 @@
|
||||
|
||||
namespace IACore
|
||||
{
|
||||
|
||||
template<typename... Args>
|
||||
VOID LogInfo(Args... args)
|
||||
{
|
||||
StringStream ss;
|
||||
UNUSED((ss << ... << args));
|
||||
printf( __CC_WHITE "[INFO]: %s" __CC_DEFAULT "\n", ss.str().c_str());
|
||||
}
|
||||
|
||||
template<typename... Args>
|
||||
VOID LogWarn(Args... args)
|
||||
{
|
||||
StringStream ss;
|
||||
UNUSED((ss << ... << args));
|
||||
printf( __CC_YELLOW "[WARN]: %s" __CC_DEFAULT "\n", ss.str().c_str());
|
||||
}
|
||||
|
||||
template<typename... Args>
|
||||
VOID LogError(Args... args)
|
||||
{
|
||||
StringStream ss;
|
||||
UNUSED((ss << ... << args));
|
||||
printf( __CC_RED "[ERROR]: %s" __CC_DEFAULT "\n", ss.str().c_str());
|
||||
}
|
||||
} // namespace IACore
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user