ScsEigen::Logger class

Logger is a Singleton that can be used to print info errors and warnings in the terminal.

Public types

enum class Level: std::size_t { none = 0, error = 1, warning = 2, info = 3, debug = 4 }
Level is an enum representing the level of the print.

Public functions

void error(std::string_view error)
Print an error message.
void info(std::string_view info)
Print an info message.
void warning(std::string_view warning)
Print a warning message.
void debug(std::string_view debug)
Print a debug message.
void setLevel(Level level)
set the level of the verbosity.

Friends

auto log() -> Logger*const

Enum documentation

enum class ScsEigen::Logger::Level: std::size_t

Level is an enum representing the level of the print.

Function documentation

void ScsEigen::Logger::setLevel(Level level)

set the level of the verbosity.

Logger*const log()

Get an the instance of the log