A custom streambuf that outputs things directly to the default spdlog logger.
More...
#include <MRRestoringStreamsSink.h>
|
| 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.
◆ LoggingStreambuf()
| MRMESH_API MR::LoggingStreambuf::LoggingStreambuf |
( |
spdlog::level::level_enum | level | ) |
|
|
explicit |
◆ overflow()
| MRMESH_API int_type MR::LoggingStreambuf::overflow |
( |
int_type | ch = traits_type::eof() | ) |
|
|
overrideprotected |
◆ xsputn()
| MRMESH_API std::streamsize MR::LoggingStreambuf::xsputn |
( |
const char_type * | s, |
|
|
std::streamsize | count ) |
|
overrideprotected |
The documentation for this class was generated from the following file: