rename commit to log in console
This commit is contained in:
@@ -53,7 +53,7 @@ namespace hack
|
||||
Database::instance().execute("logger", convert_to_json());
|
||||
}
|
||||
|
||||
void commit(const std::filesystem::path file_name = DEF_FILE_NAME(), std::string line = DEF_LINE())
|
||||
void log(const std::filesystem::path file_name = DEF_FILE_NAME(), std::string line = DEF_LINE())
|
||||
{
|
||||
error("")(file_name,":", line, ": ", m_message);
|
||||
warn("")(m_location, ": ", m_description);
|
||||
|
||||
Reference in New Issue
Block a user