SIEdit/lib/util.h
2022-07-18 11:25:00 -07:00

28 lines
344 B
C++

#ifndef UTIL_H
#define UTIL_H
#include <fstream>
#include <iostream>
#include "types.h"
namespace si {
inline std::ostream &LogDebug()
{
return std::cout << "[DEBUG] ";
}
inline std::ostream &LogWarning()
{
return std::cerr << "[WARNING] ";
}
inline std::ostream &LogError()
{
return std::cerr << "[ERROR] ";
}
}
#endif // UTIL_H