A naive logger that prints all messages to standard out and, in the case of errors, standard error.
More...
#include <standardOut.hpp>
A naive logger that prints all messages to standard out and, in the case of errors, standard error.
StandardOut "stdout.hpp" "umps/logging/stdout.hpp"
- Note
- This class is not recommended for typical use.
- Copyright
- Ben Baker (University of Utah) distributed under the MIT license.
◆ debug()
void UMPS::Logging::StandardOut::debug |
( |
const std::string & |
message | ) |
|
|
overridevirtual |
◆ error()
void UMPS::Logging::StandardOut::error |
( |
const std::string & |
message | ) |
|
|
overridevirtual |
◆ getLevel()
Level UMPS::Logging::StandardOut::getLevel |
( |
| ) |
const |
|
overridevirtualnoexcept |
◆ info()
void UMPS::Logging::StandardOut::info |
( |
const std::string & |
message | ) |
|
|
overridevirtual |
◆ operator=() [1/2]
Copy assignment operator.
- Parameters
-
[in] | logger | The logging class to copy to this. |
- Returns
- A deep copy of the logger class.
◆ operator=() [2/2]
Move assignment operator.
- Parameters
-
[in,out] | logger | The logging class whose memory will be moved to this. On exit, logger's behavior is undefined. |
- Returns
- The memory from logger moved to this.
◆ setLevel()
void UMPS::Logging::StandardOut::setLevel |
( |
Level |
level | ) |
|
|
noexcept |
Sets the logging level.
- Parameters
-
[in] | level | The logging level. |
◆ warn()
void UMPS::Logging::StandardOut::warn |
( |
const std::string & |
message | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file: