Initialization of WinSock librarry
This commit is contained in:
12
SocketLibrary/Log.cpp
Normal file
12
SocketLibrary/Log.cpp
Normal file
@@ -0,0 +1,12 @@
|
||||
#include <iostream>
|
||||
#include "Log.h"
|
||||
|
||||
void SocketLibrary::Log::Print(std::string message)
|
||||
{
|
||||
std::cout << message << std::endl;
|
||||
}
|
||||
|
||||
void SocketLibrary::Log::PrintError(std::string message, int error)
|
||||
{
|
||||
std::cerr << "[Error Code: " << error << "] "<< message << std::endl;
|
||||
}
|
||||
Reference in New Issue
Block a user