1#ifndef DUNE_COPASI_COMMON_OSTREAM_TO_SPDLOG_HH
2#define DUNE_COPASI_COMMON_OSTREAM_TO_SPDLOG_HH
6#include <spdlog/spdlog.h>
19[[nodiscard]]
inline auto
static std::unique_ptr< OStreamRedirect > make(std::ostream &ostream, fu2::unique_function< void(std::string_view)> redirection, bool line_buffered=true)
RAII safe constructor of the redirection object While the object is alive, the output of ostream will...
Definition: axis_names.hh:7
auto ostream2spdlog()
Standard output redirection to spdlog.
Definition: ostream_to_spdlog.hh:20