Files
Custom-Operating-System/libs/libfoundation/include/libfoundation/helpers/LoggerStreamBuf.h

16 lines
262 B
C++

#include <__std_streambuffer>
namespace LFoundation::Logger {
class StreamBuf : public std::__stdoutbuf<char> {
public:
StreamBuf(FILE* file)
: __stdoutbuf<char>(file)
{
}
~StreamBuf() = default;
};
} // namespace LFoundation::Logger