transm/client/main.cpp

12 lines
221 B
C++
Raw Normal View History

2024-12-11 08:44:14 +08:00
#include <iostream>
2024-12-11 23:23:48 +08:00
#include "client.h"
2024-12-11 08:44:14 +08:00
2024-12-11 23:23:48 +08:00
std::shared_ptr<spdlog::logger> g_Logger = nullptr;
2024-12-11 10:22:14 +08:00
2024-12-11 08:44:14 +08:00
int main()
{
2024-12-11 23:23:48 +08:00
g_Logger = get_logger("client", "client.log");
CClient client(g_Logger);
client.run();
2024-12-11 08:44:14 +08:00
return 0;
}