remove db commit

This commit is contained in:
chatlanin 2024-07-18 10:16:31 +03:00
parent d95473995d
commit cc5f97a9df

View File

@ -48,12 +48,6 @@ namespace hack
tr.m_data.m_result["result"] = m_message;
}
template<typename Database>
void commit()
{
Database::instance().execute("logger", convert_to_json());
}
void log()
{
std::cout << view::color::bold << view::color::red <<"["+m_service+"] " << view::color::reset
@ -77,7 +71,6 @@ namespace hack
<< m_system_error << std::endl;
}
private:
JSON convert_to_json() override
{
JSON j;