mirror of
https://github.com/isledecomp/SIEdit.git
synced 2024-11-27 09:35:45 -05:00
28 lines
344 B
C++
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
|