![]() |
MAGE
v0.171.0
Matthias Advanced Game Engine
|
#include <logging.hpp>
Public Member Functions | |
| constexpr | LoggingConfiguration (bool quiet=false, bool verbose=true) noexcept |
| constexpr | LoggingConfiguration (const LoggingConfiguration &configuration) noexcept=default |
| constexpr | LoggingConfiguration (LoggingConfiguration &&configuration) noexcept=default |
| ~LoggingConfiguration ()=default | |
| LoggingConfiguration & | operator= (const LoggingConfiguration &configuration) noexcept=default |
| LoggingConfiguration & | operator= (LoggingConfiguration &&configuration) noexcept=default |
| constexpr bool | IsQuiet () const noexcept |
| constexpr bool | IsVerbose () const noexcept |
Static Public Member Functions | |
| static LoggingConfiguration & | Get () noexcept |
Private Attributes | |
| bool | m_quiet |
| bool | m_verbose |
Static Private Attributes | |
| static LoggingConfiguration | s_logging_configuration |
A class of logging configurations of the engine processing.
|
explicitnoexcept |
Constructs a logging configuration.
| [in] | quiet | Flag indicating whether quiet logging is preferred. |
| [in] | verbose | Flag indicating whether verbose logging is preferred. |
|
defaultnoexcept |
Constructs a logging configuration from the given logging configuration.
| [in] | configuration | A reference to the logging configuration to copy. |
|
defaultnoexcept |
Constructs a logging configuration by moving the given logging configuration.
| [in] | configuration | A reference to the logging configuration to move. |
|
default |
Destructs this logging configuration.
|
staticnoexcept |
Returns the global logging configuration.
|
noexcept |
Checks whether the logging of the engine processing is quiet.
true if the logging of the engine processing is quiet. false otherwise.
|
noexcept |
Checks wheter the logging of the engine processing is verbose.
true if the logging of the engine processing is verbose. false otherwise.
|
defaultnoexcept |
Copies the given logging configuration to this logging configuration.
| [in] | configuration | A reference to the logging configuration to copy. |
|
defaultnoexcept |
Moves the given logging configuration to this logging configuration.
| [in] | configuration | A reference to the logging configuration to move. |
|
private |
Flag indicating the logging of the engine processing is quiet.
|
private |
Flag indicating the logging of the engine processing is verbose.
|
staticprivate |
The global logging configuration.