Skip to content

Commit b1aa44b

Browse files
committed
add remark on logging enums
1 parent 9297062 commit b1aa44b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/viam/sdk/log/logging.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ namespace sdk {
2424

2525
/// @brief Severity levels for the logger.
2626
/// @ingroup Log
27+
/// @remark Our enums are usually prefixed with k_, but these values are meant to be used without
28+
/// namespace qualification in the log macros, eg `VIAM_SDK_LOG(info)` instead of
29+
/// `VIAM_SDK_LOG(k_info)`.
2730
enum class log_level : std::int8_t {
2831
trace = -2,
2932
debug = -1,

0 commit comments

Comments
 (0)