log: replace all NGLOG with LOG

This commit is contained in:
wwylele 2018-06-29 14:18:07 +03:00
parent fde415968e
commit 7c5a76e58b
152 changed files with 1541 additions and 1541 deletions

View file

@ -15,12 +15,12 @@ static std::shared_ptr<Room> g_room; ///< Room (Server) for network
bool Init() {
if (enet_initialize() != 0) {
NGLOG_ERROR(Network, "Error initalizing ENet");
LOG_ERROR(Network, "Error initalizing ENet");
return false;
}
g_room = std::make_shared<Room>();
g_room_member = std::make_shared<RoomMember>();
NGLOG_DEBUG(Network, "initialized OK");
LOG_DEBUG(Network, "initialized OK");
return true;
}
@ -44,7 +44,7 @@ void Shutdown() {
g_room.reset();
}
enet_deinitialize();
NGLOG_DEBUG(Network, "shutdown OK");
LOG_DEBUG(Network, "shutdown OK");
}
} // namespace Network

View file

@ -408,7 +408,7 @@ void Room::RoomImpl::HandleWifiPacket(const ENetEvent* event) {
if (member != members.end()) {
enet_peer_send(member->peer, 0, enet_packet);
} else {
NGLOG_ERROR(Network,
LOG_ERROR(Network,
"Attempting to send to unknown MAC address: "
"{:02X}:{:02X}:{:02X}:{:02X}:{:02X}:{:02X}",
destination_address[0], destination_address[1], destination_address[2],