Skip to content

Commit b71b491

Browse files
TheBearedalm
authored andcommitted
doc: REORDER LOGDEBUG in list of loglevels
doc: fix typo
1 parent d6e1388 commit b71b491

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

AUTHORS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,3 +386,5 @@ La Tuan Minh (GCI 2019)
386386
Parth Pratim (GCI 2018)
387387
ra1nst0rm3d (GCI 2019)
388388
SaiMyGuy (GCI 2019)
389+
390+

doc/tutorial/source/tweaking.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,19 @@ defined in the system.
4242

4343
* LOG_ERROR --- Log error messages (associated macro: NS_LOG_ERROR);
4444
* LOG_WARN --- Log warning messages (associated macro: NS_LOG_WARN);
45-
* LOG_DEBUG --- Log relatively rare, ad-hoc debugging messages
46-
(associated macro: NS_LOG_DEBUG);
4745
* LOG_INFO --- Log informational messages about program progress
4846
(associated macro: NS_LOG_INFO);
4947
* LOG_FUNCTION --- Log a message describing each function called
5048
(two associated macros: NS_LOG_FUNCTION, used for member functions,
5149
and NS_LOG_FUNCTION_NOARGS, used for static functions);
5250
* LOG_LOGIC -- Log messages describing logical flow within a function
5351
(associated macro: NS_LOG_LOGIC);
52+
* LOG_DEBUG --- Log relatively rare, ad-hoc debugging messages
53+
(associated macro: NS_LOG_DEBUG);
5454
* LOG_ALL --- Log everything mentioned above (no associated macro).
5555

5656
For each LOG_TYPE there is also LOG_LEVEL_TYPE that, if used, enables
57-
logging of all the levels above it in addition to it's level. (As a
57+
logging of all the levels above it in addition to its level (see list above). (As a
5858
consequence of this, LOG_ERROR and LOG_LEVEL_ERROR and also LOG_ALL
5959
and LOG_LEVEL_ALL are functionally equivalent.) For example,
6060
enabling LOG_INFO will only enable messages provided by NS_LOG_INFO macro,

0 commit comments

Comments
 (0)