Function Acts::getDefaultLogger

Function Documentation

std::unique_ptr<const Logger> Acts::getDefaultLogger(const std::string &name, const Logging::Level &lvl, std::ostream *log_stream = &std::cout)

get default debug output logger

This function returns a pointer to a Logger instance with the following decorations enabled:

  • time stamps

  • name of logging instance

  • debug level

Parameters
  • [in] name: name of the logger instance

  • [in] lvl: debug threshold level

  • [in] log_stream: output stream used for printing debug messages

Return

pointer to logging instance