remove db commit
This commit is contained in:
parent
d95473995d
commit
cc5f97a9df
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user