Rename addEntry to logEntry
This commit is contained in:
parent
8baddbf003
commit
0392f8568f
|
@ -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;
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue