Moved log to its own header and prevented multiple log init

This commit is contained in:
Paul-Louis Ageneau
2020-03-05 16:56:55 +01:00
parent 6507542a80
commit 3367eba4fe
5 changed files with 60 additions and 30 deletions

View File

@ -33,7 +33,7 @@ using namespace std;
template <class T> weak_ptr<T> make_weak_ptr(shared_ptr<T> ptr) { return ptr; }
int main(int argc, char **argv) {
InitLogger(LogLevel::Warning);
InitLogger(LogLevel::Debug);
#ifdef _WIN32
WSADATA wsaData;

View File

@ -33,7 +33,7 @@ using namespace std;
template <class T> weak_ptr<T> make_weak_ptr(shared_ptr<T> ptr) { return ptr; }
int main(int argc, char **argv) {
InitLogger(LogLevel::Debug);
InitLogger(LogLevel::Warning);
#ifdef _WIN32
WSADATA wsaData;