A custom streambuf that outputs things directly to the default spdlog
logger.
More...
#include <MRRestoringStreamsSink.h>
Public Member Functions | |
MRMESH_API | LoggingStreambuf (spdlog::level::level_enum level) |
Protected Member Functions | |
MRMESH_API std::streamsize | xsputn (const char_type *s, std::streamsize count) override |
MRMESH_API int_type | overflow (int_type ch=traits_type::eof()) override |
A custom streambuf that outputs things directly to the default spdlog
logger.
|
explicit |
|
overrideprotected |
|
overrideprotected |