diff options
author | Alex Gilday <alexander.gilday@arm.com> | 2018-03-21 13:54:09 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:49:16 +0000 |
commit | c357c47be8a3f210f9eee9a05cc13f1051b036d3 (patch) | |
tree | a88ac857150da970a0862a3479b78c616d8aa1d3 /arm_compute/core/utils/logging/Types.h | |
parent | 724079d6fce3bf6a05cd6c7b4884b132b27e9e90 (diff) | |
download | ComputeLibrary-c357c47be8a3f210f9eee9a05cc13f1051b036d3.tar.gz |
COMPMID-1008: Fix Doxygen issues
Change-Id: Ie73d8771f85d1f5b059f3a56f1bbd73c98e94a38
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/124723
Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com>
Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/core/utils/logging/Types.h')
-rw-r--r-- | arm_compute/core/utils/logging/Types.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/arm_compute/core/utils/logging/Types.h b/arm_compute/core/utils/logging/Types.h index 0b40e3d7a1..d56784369c 100644 --- a/arm_compute/core/utils/logging/Types.h +++ b/arm_compute/core/utils/logging/Types.h @@ -31,7 +31,7 @@ namespace arm_compute namespace logging { /** Logging level enumeration */ -enum class LogLevel : unsigned int +enum class LogLevel { VERBOSE, /**< All logging messages */ INFO, /**< Information log level */ @@ -40,19 +40,28 @@ enum class LogLevel : unsigned int OFF /**< No logging */ }; +/** Log message */ struct LogMsg { + /** Default constructor */ LogMsg() : raw_(), log_level_(LogLevel::OFF) { } + /** Construct a log message + * + * @param[in] msg Message to log. + * @param[in] log_level Logging level. Default: OFF + */ LogMsg(std::string msg, LogLevel log_level = LogLevel::OFF) : raw_(msg), log_level_(log_level) { } + /** Log message */ std::string raw_; - LogLevel log_level_; + /** Logging level */ + LogLevel log_level_; }; } // namespace logging } // namespace arm_compute |