Rename addEntry to logEntry

This commit is contained in:
realaltffour 2020-04-14 16:37:55 +03:00
parent 8baddbf003
commit 0392f8568f
No known key found for this signature in database
GPG Key ID: 7115CD2AC9A76A56
3 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ auto t2str(EntryType type) -> std::string {
return "Type: None";
}
void addEntry(const std::string& msg, EntryType type) {
void logEntry(const std::string& msg, EntryType type) {
Entry ev;
ev.type = type;
ev.mesg = msg;

View File

@ -9,7 +9,7 @@
static Log s_log;
void addEntry(const std::string& msg, EntryType type);
void logEntry(const std::string& msg, EntryType type);
void writeLog(const std::string& loc,
bool append = true /* false == overwrite */);
void printLog(const std::string& loc,

View File

@ -33,7 +33,7 @@ void dispatch_Mod(std::string mod, std::vector<std::string> args) {
int main(int argc, const char* argv[]) {
timer_start();
addEntry("Started Program.", EntryType::None);
logEntry("Started Program.", EntryType::None);
using namespace boost::program_options;
using namespace std;