Files
CMake/Source/cmMessageType.h
Matthew Woehlke 39917606f8 Diagnostics: Remove diagnostic-specific message types
All diagnostics should now be issued using methods which take a
diagnostic category. Accordingly, there is no need for message types
which overlap with specific diagnostic categories, so remove those.
2026-04-20 10:59:51 -04:00

41 lines
597 B
C++

/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file LICENSE.rst or https://cmake.org/licensing for details. */
#pragma once
#include "cmConfigure.h" // IWYU pragma: keep
enum class MessageType
{
UNDEFINED,
FATAL_ERROR,
INTERNAL_ERROR,
MESSAGE,
WARNING,
LOG,
};
namespace Message {
/** \brief Define log level constants. */
enum class LogLevel
{
LOG_UNDEFINED,
LOG_ERROR,
LOG_WARNING,
LOG_NOTICE,
LOG_STATUS,
LOG_VERBOSE,
LOG_DEBUG,
LOG_TRACE
};
enum class CheckType
{
UNDEFINED,
CHECK_START,
CHECK_PASS,
CHECK_FAIL
};
}