areusch commented on a change in pull request #7153:
URL: https://github.com/apache/tvm/pull/7153#discussion_r581348514
##########
File path: include/tvm/ir/diagnostic.h
##########
@@ -37,6 +37,15 @@ namespace tvm {
using tvm::parser::SourceMap;
using tvm::runtime::TypedPackedFunc;
+/*! \brief The diagnostic level, controls the printing of the message. */
+enum class DiagnosticLevel : int {
+ kBug = 10,
Review comment:
I actually don't mind these labels for indicating what a help message
contains, but it would be helpful to comment the translation to log levels here
so I don't have to look that up. I imagine people will try to work with these
labels but will be approaching this from "the build log is too spammy"
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]