mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-26 18:21:04 +00:00
Use warningstream for log messages with WARNING
Remove DTIME macro and its uses, too
This commit is contained in:
parent
2139d7d45f
commit
96cc5b34fe
26 changed files with 92 additions and 94 deletions
|
@ -579,7 +579,7 @@ void Client::handleCommand_MovePlayer(NetworkPacket* pkt)
|
|||
|
||||
void Client::handleCommand_PlayerItem(NetworkPacket* pkt)
|
||||
{
|
||||
infostream << "Client: WARNING: Ignoring TOCLIENT_PLAYERITEM" << std::endl;
|
||||
warningstream << "Client: Ignoring TOCLIENT_PLAYERITEM" << std::endl;
|
||||
}
|
||||
|
||||
void Client::handleCommand_DeathScreen(NetworkPacket* pkt)
|
||||
|
@ -711,7 +711,7 @@ void Client::handleCommand_Media(NetworkPacket* pkt)
|
|||
|
||||
void Client::handleCommand_ToolDef(NetworkPacket* pkt)
|
||||
{
|
||||
infostream << "Client: WARNING: Ignoring TOCLIENT_TOOLDEF" << std::endl;
|
||||
warningstream << "Client: Ignoring TOCLIENT_TOOLDEF" << std::endl;
|
||||
}
|
||||
|
||||
void Client::handleCommand_NodeDef(NetworkPacket* pkt)
|
||||
|
@ -738,7 +738,7 @@ void Client::handleCommand_NodeDef(NetworkPacket* pkt)
|
|||
|
||||
void Client::handleCommand_CraftItemDef(NetworkPacket* pkt)
|
||||
{
|
||||
infostream << "Client: WARNING: Ignoring TOCLIENT_CRAFTITEMDEF" << std::endl;
|
||||
warningstream << "Client: Ignoring TOCLIENT_CRAFTITEMDEF" << std::endl;
|
||||
}
|
||||
|
||||
void Client::handleCommand_ItemDef(NetworkPacket* pkt)
|
||||
|
|
|
@ -2099,6 +2099,7 @@ void * ConnectionReceiveThread::run()
|
|||
#endif
|
||||
END_DEBUG_EXCEPTION_HANDLER(errorstream);
|
||||
}
|
||||
|
||||
PROFILE(g_profiler->remove(ThreadIdentifier.str()));
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
@ -1713,7 +1713,7 @@ void Server::handleCommand_Interact(NetworkPacket* pkt)
|
|||
Catch invalid actions
|
||||
*/
|
||||
else {
|
||||
infostream << "WARNING: Server: Invalid action "
|
||||
warningstream << "Server: Invalid action "
|
||||
<< action << std::endl;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue