2022-03-20 22:01:41 +03:00
|
|
|
#include "logger.hpp"
|
|
|
|
|
|
|
|
namespace hack
|
|
|
|
{
|
2022-03-27 23:04:36 +03:00
|
|
|
std::string log::devider = " ";
|
|
|
|
int log::count = 0;
|
2022-03-20 22:01:41 +03:00
|
|
|
|
2022-04-07 17:11:02 +03:00
|
|
|
log::log(std::string devider_, std::experimental::source_location location_) : location { location_ }
|
2022-03-20 22:01:41 +03:00
|
|
|
{
|
2022-03-27 23:04:36 +03:00
|
|
|
this->devider = devider_;
|
2022-03-20 22:01:41 +03:00
|
|
|
}
|
|
|
|
|
2022-04-07 17:11:02 +03:00
|
|
|
warn::warn(std::string devider_, std::experimental::source_location location_) : location { location_ }
|
2022-03-20 22:01:41 +03:00
|
|
|
{
|
2022-03-27 23:04:36 +03:00
|
|
|
this->devider = devider_;
|
2022-03-20 22:01:41 +03:00
|
|
|
}
|
|
|
|
|
2022-04-07 17:11:02 +03:00
|
|
|
error::error(std::string devider_, std::experimental::source_location location_) : location { location_ }
|
2022-03-20 22:01:41 +03:00
|
|
|
{
|
2022-03-27 23:04:36 +03:00
|
|
|
this->devider = devider_;
|
2022-03-20 22:01:41 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
void log::print() { std::cout << std::endl; }
|
|
|
|
}
|