carl  24.04
Computer ARithmetic Library
carl::logging::Sink Class Referenceabstract

Base class for a logging sink. More...

#include <Sink.h>

Inheritance diagram for carl::logging::Sink:

Public Member Functions

virtual std::ostream & log () noexcept=0
 Abstract logging interface. More...
 

Detailed Description

Base class for a logging sink.

It only provides an interface to access some std::ostream.

Definition at line 11 of file Sink.h.

Member Function Documentation

◆ log()

virtual std::ostream& carl::logging::Sink::log ( )
pure virtualnoexcept

Abstract logging interface.

The intended usage is to write any log output to the output stream returned by this function.

Returns
Output stream.

Implemented in carl::logging::FileSink, and carl::logging::StreamSink.


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