Class sdm::StdLogger
Class List > sdm > StdLogger
The standard logger will print logs on the standard output stream.
#include <logger.hpp>
Inherits the following classes: sdm::Logger
Public Functions
| Type | Name |
|---|---|
| StdLogger (const std::string & format="Not initialized formatter.") |
Public Functions inherited from sdm::Logger
See sdm::Logger
| Type | Name |
|---|---|
| Logger () | |
| Logger (std::ostream * os, const std::string & format="") | |
| Logger (std::shared_ptr< std::ostream > os, const std::string & format="") | |
| void | log (TData... vals) Record values. |
| void | setFormat (const std::string & format) Set the format of logs. |
Public Functions inherited from sdm::BaseLogger
See sdm::BaseLogger
| Type | Name |
|---|---|
| void | log (TData... vals) Record values. |
Protected Attributes inherited from sdm::Logger
See sdm::Logger
| Type | Name |
|---|---|
| std::string | format_ the output format |
| std::shared_ptr< std::ostream > | output_stream_ the output stream for logs. |
Public Functions Documentation
function StdLogger
inline sdm::StdLogger::StdLogger (
const std::string & format="Not initialized formatter."
)
The documentation for this class was generated from the following file src/sdm/utils/logging/logger.hpp