BioCMAMC-ST
IO::Logger Class Referenceabstract

#include <logger.hpp>

Inheritance diagram for IO::Logger:
[legend]

Public Member Functions

 Logger ()=default
 Logger (const Logger &)=default
 Logger (Logger &&)=default
Loggeroperator= (const Logger &)=default
Loggeroperator= (Logger &&)=default
virtual ~Logger ()=default
virtual void debug (std::string_view message)=0
virtual void print (std::string_view prefix, std::string_view message)=0
virtual void alert (std::string_view prefix, std::string_view message)=0
virtual void error (std::string_view message, std::source_location location=std::source_location::current())=0
virtual void raw_log (std::string_view message)=0
virtual void toggle_debug ()=0
virtual void toggle_print ()=0
virtual void toggle_alert ()=0
virtual void toggle_error ()=0
virtual void toggle_all ()=0

Constructor & Destructor Documentation

◆ Logger() [1/3]

IO::Logger::Logger ( )
default
Here is the caller graph for this function:

◆ Logger() [2/3]

IO::Logger::Logger ( const Logger & )
default
Here is the call graph for this function:

◆ Logger() [3/3]

IO::Logger::Logger ( Logger && )
default
Here is the call graph for this function:

◆ ~Logger()

virtual IO::Logger::~Logger ( )
virtualdefault

Member Function Documentation

◆ alert()

virtual void IO::Logger::alert ( std::string_view prefix,
std::string_view message )
pure virtual

Implemented in IO::Console.

◆ debug()

virtual void IO::Logger::debug ( std::string_view message)
pure virtual

Implemented in IO::Console.

◆ error()

virtual void IO::Logger::error ( std::string_view message,
std::source_location location = std::source_location::current() )
pure virtual

Implemented in IO::Console.

◆ operator=() [1/2]

Logger & IO::Logger::operator= ( const Logger & )
default
Here is the call graph for this function:

◆ operator=() [2/2]

Logger & IO::Logger::operator= ( Logger && )
default
Here is the call graph for this function:

◆ print()

virtual void IO::Logger::print ( std::string_view prefix,
std::string_view message )
pure virtual

Implemented in IO::Console.

◆ raw_log()

virtual void IO::Logger::raw_log ( std::string_view message)
pure virtual

Implemented in IO::Console.

◆ toggle_alert()

virtual void IO::Logger::toggle_alert ( )
pure virtual

Implemented in IO::Console.

◆ toggle_all()

virtual void IO::Logger::toggle_all ( )
pure virtual

Implemented in IO::Console.

◆ toggle_debug()

virtual void IO::Logger::toggle_debug ( )
pure virtual

Implemented in IO::Console.

◆ toggle_error()

virtual void IO::Logger::toggle_error ( )
pure virtual

Implemented in IO::Console.

◆ toggle_print()

virtual void IO::Logger::toggle_print ( )
pure virtual

Implemented in IO::Console.


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