MeshLib C++ Docs
Loading...
Searching...
No Matches

A custom streambuf that outputs things directly to the default spdlog logger. More...

#include <MRMesh/MRRestoringStreamsSink.h>

Inheritance diagram for MR::LoggingStreambuf:

Public Member Functions

 LoggingStreambuf (spdlog::level::level_enum level)

Protected Member Functions

std::streamsize xsputn (const char_type *s, std::streamsize count) override
int_type overflow (int_type ch=traits_type::eof()) override

Detailed Description

A custom streambuf that outputs things directly to the default spdlog logger.

Constructor & Destructor Documentation

◆ LoggingStreambuf()

MR::LoggingStreambuf::LoggingStreambuf ( spdlog::level::level_enum level)
explicit

Member Function Documentation

◆ overflow()

int_type MR::LoggingStreambuf::overflow ( int_type ch = traits_type::eof())
overrideprotected

◆ xsputn()

std::streamsize MR::LoggingStreambuf::xsputn ( const char_type * s,
std::streamsize count )
overrideprotected

The documentation for this class was generated from the following file: