We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ac0134 commit ab5fa91Copy full SHA for ab5fa91
1 file changed
utils/logging.h
@@ -38,15 +38,15 @@ namespace gpu
38
return oss.str();
39
}
40
41
+/**
42
+ * @brief Log a message to the logger. If NO_LOG is defined in a source or as a
43
+ * compiler flag, this is a no-op.
44
+ *
45
+ * @param logger The logger to log to.
46
+ * @param level The log level of the message.
47
+ * @param message The message to log.
48
+ */
49
#ifndef NO_LOG
- /**
- * @brief Log a message to the logger. If NDEBUG is defined in a source or as a
- * compiler flag, this is a no-op.
- *
- * @param logger The logger to log to.
- * @param level The log level of the message.
- * @param message The message to log.
- */
50
template <typename... Args>
51
inline void LOG(Logger &logger, int level, const char *message, ...)
52
{
0 commit comments