mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-28 13:18:19 +00:00
Everywhere: Replace a bundle of dbg with dbgln.
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.
This commit is contained in:
parent
4953c73fc1
commit
01879d27c2
Notes:
sideshowbarker
2024-07-18 23:11:40 +09:00
Author: https://github.com/asynts
Commit: 01879d27c2
Pull-request: https://github.com/SerenityOS/serenity/pull/4931
Reviewed-by: https://github.com/emanuele6
12 changed files with 33 additions and 23 deletions
|
@ -54,13 +54,13 @@ public:
|
|||
|
||||
void did_misbehave()
|
||||
{
|
||||
dbg() << *this << " (id=" << m_client_id << ", pid=" << client_pid() << ") misbehaved, disconnecting.";
|
||||
dbgln("{} (id={}, pid={}) misbehaved, disconnecting.", *this, m_client_id, client_pid());
|
||||
this->shutdown();
|
||||
}
|
||||
|
||||
void did_misbehave(const char* message)
|
||||
{
|
||||
dbg() << *this << " (id=" << m_client_id << ", pid=" << client_pid() << ") misbehaved (" << message << "), disconnecting.";
|
||||
dbgln("{} (id={}, pid={}) misbehaved ({}), disconnecting.", *this, m_client_id, client_pid(), message);
|
||||
this->shutdown();
|
||||
}
|
||||
|
||||
|
@ -76,3 +76,8 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
template<>
|
||||
template<typename ClientEndpoint, typename ServerEndpoint>
|
||||
struct AK::Formatter<IPC::ClientConnection<ClientEndpoint, ServerEndpoint>> : Formatter<Core::Object> {
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue