BioCMAMC-ST
IO::Console Class Referencefinal

#include <console.hpp>

Inheritance diagram for IO::Console:
[legend]
Collaboration diagram for IO::Console:
[legend]

Public Member Functions

 Console ()
 ~Console () override=default
 Console (const Console &)=delete
 Console (Console &&)=delete
Consoleoperator= (const Console &)=delete
Consoleoperator= (Console &&)=delete
void debug (std::string_view message) final
void print (std::string_view prefix, std::string_view message) final
void alert (std::string_view prefix, std::string_view message) final
void error (std::string_view message, std::source_location location=std::source_location::current()) final
void raw_log (std::string_view message) final
void toggle_debug () final
void toggle_print () final
void toggle_alert () final
void toggle_error () final
void toggle_all () final
std::ostream & get_output ()
Public Member Functions inherited from IO::Logger
 Logger ()=default
 Logger (const Logger &)=default
 Logger (Logger &&)=default
Loggeroperator= (const Logger &)=default
Loggeroperator= (Logger &&)=default
virtual ~Logger ()=default

Private Attributes

uint32_t flags
std::ostream & output
std::ostream & err_output

Constructor & Destructor Documentation

◆ Console() [1/3]

IO::Console::Console ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~Console()

IO::Console::~Console ( )
overridedefault

◆ Console() [2/3]

IO::Console::Console ( const Console & )
delete
Here is the call graph for this function:

◆ Console() [3/3]

IO::Console::Console ( Console && )
delete
Here is the call graph for this function:

Member Function Documentation

◆ alert()

void IO::Console::alert ( std::string_view prefix,
std::string_view message )
finalvirtual

Implements IO::Logger.

Here is the caller graph for this function:

◆ debug()

void IO::Console::debug ( std::string_view message)
finalvirtual

Implements IO::Logger.

◆ error()

void IO::Console::error ( std::string_view message,
std::source_location location = std::source_location::current() )
finalvirtual

Implements IO::Logger.

◆ get_output()

std::ostream & IO::Console::get_output ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=() [1/2]

Console & IO::Console::operator= ( Console && )
delete
Here is the call graph for this function:

◆ operator=() [2/2]

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

◆ print()

void IO::Console::print ( std::string_view prefix,
std::string_view message )
finalvirtual

Implements IO::Logger.

◆ raw_log()

void IO::Console::raw_log ( std::string_view message)
finalvirtual

Implements IO::Logger.

Here is the caller graph for this function:

◆ toggle_alert()

void IO::Console::toggle_alert ( )
finalvirtual

Implements IO::Logger.

Here is the caller graph for this function:

◆ toggle_all()

void IO::Console::toggle_all ( )
finalvirtual

Implements IO::Logger.

Here is the caller graph for this function:

◆ toggle_debug()

void IO::Console::toggle_debug ( )
finalvirtual

Implements IO::Logger.

Here is the caller graph for this function:

◆ toggle_error()

void IO::Console::toggle_error ( )
finalvirtual

Implements IO::Logger.

Here is the caller graph for this function:

◆ toggle_print()

void IO::Console::toggle_print ( )
finalvirtual

Implements IO::Logger.

Here is the caller graph for this function:

Member Data Documentation

◆ err_output

std::ostream& IO::Console::err_output
private

◆ flags

uint32_t IO::Console::flags
private

◆ output

std::ostream& IO::Console::output
private

The documentation for this class was generated from the following files:
  • apps/libs/common/public/common/console.hpp
  • apps/libs/common/src/logger.cpp