SIEdit/lib/util.h

29 lines
344 B
C
Raw Permalink Normal View History

2022-07-17 21:51:16 -04:00
#ifndef UTIL_H
#define UTIL_H
#include <fstream>
2022-07-18 03:27:00 -04:00
#include <iostream>
2022-07-17 21:51:16 -04:00
#include "types.h"
namespace si {
2022-07-18 03:27:00 -04:00
inline std::ostream &LogDebug()
{
return std::cout << "[DEBUG] ";
}
inline std::ostream &LogWarning()
{
return std::cerr << "[WARNING] ";
}
inline std::ostream &LogError()
{
return std::cerr << "[ERROR] ";
}
2022-07-17 21:51:16 -04:00
}
#endif // UTIL_H