summaryrefslogtreecommitdiff
path: root/AK/LogStream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'AK/LogStream.cpp')
-rw-r--r--AK/LogStream.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/AK/LogStream.cpp b/AK/LogStream.cpp
index 3e910f24d3..d150adfcc1 100644
--- a/AK/LogStream.cpp
+++ b/AK/LogStream.cpp
@@ -186,20 +186,6 @@ bool DebugLogStream::is_enabled()
bool DebugLogStream::s_enabled = true;
#ifndef KERNEL
-StdLogStream::~StdLogStream()
-{
- char newline = '\n';
- write(&newline, 1);
-}
-
-void StdLogStream::write(const char* characters, int length) const
-{
- if (::write(m_fd, characters, length) < 0) {
- perror("StdLogStream::write");
- ASSERT_NOT_REACHED();
- }
-}
-
const LogStream& operator<<(const LogStream& stream, double value)
{
return stream << String::format("%.4f", value);
@@ -209,7 +195,6 @@ const LogStream& operator<<(const LogStream& stream, float value)
{
return stream << String::format("%.4f", value);
}
-
#endif
void dump_bytes(ReadonlyBytes bytes)