network: Migrate logging macros (#3575)

* network: Migrate logging macros

Follow-up of #3533

Replace prefix of all logging macros from LOG to NGLOG

* Remove hash in format
This commit is contained in:
Daniel Lim Wee Soong 2018-03-27 19:00:14 +08:00 committed by Merry
parent 4bdf2e1eb9
commit 3e8e011c33
2 changed files with 8 additions and 7 deletions

View file

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