mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:27:45 +00:00
Everywhere: Remove klog(), dbg() and purge all LogStream usage :^)
Good-bye LogStream. Long live AK::Format!
This commit is contained in:
parent
423ed53396
commit
ef1e5db1d0
209 changed files with 164 additions and 837 deletions
|
@ -27,7 +27,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/Endian.h>
|
||||
#include <AK/LogStream.h>
|
||||
#include <AK/Optional.h>
|
||||
#include <AK/String.h>
|
||||
#include <AK/StringView.h>
|
||||
|
@ -143,11 +142,6 @@ struct Traits<IPv4Address> : public GenericTraits<IPv4Address> {
|
|||
static constexpr unsigned hash(const IPv4Address& address) { return int_hash(address.to_u32()); }
|
||||
};
|
||||
|
||||
inline const LogStream& operator<<(const LogStream& stream, const IPv4Address& value)
|
||||
{
|
||||
return stream << value.to_string();
|
||||
}
|
||||
|
||||
template<>
|
||||
struct Formatter<IPv4Address> : Formatter<String> {
|
||||
void format(FormatBuilder& builder, IPv4Address value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue