mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 06:18:12 +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
|
@ -26,7 +26,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <AK/LogStream.h>
|
||||
#include <AK/String.h>
|
||||
|
||||
namespace GUI {
|
||||
|
@ -57,13 +56,6 @@ private:
|
|||
size_t m_column { 0xffffffff };
|
||||
};
|
||||
|
||||
inline const LogStream& operator<<(const LogStream& stream, const TextPosition& value)
|
||||
{
|
||||
if (!value.is_valid())
|
||||
return stream << "GUI::TextPosition(Invalid)";
|
||||
return stream << String::formatted("({},{})", value.line(), value.column());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
template<>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue