Skip to content

Commit

Permalink
Fix the documentation about changing the logging level (#1596)
Browse files Browse the repository at this point in the history
Authors:
  - tsuki (https://github.com/enp1s0)

Approvers:
  - Corey J. Nolet (https://github.com/cjnolet)

URL: #1596
  • Loading branch information
enp1s0 authored Jun 22, 2023
1 parent bca4d93 commit afa5963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/developer_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ There are 7 logging levels with each successive level becoming quieter:
7. RAFT_LEVEL_OFF
Pass one of these as per your needs into the `set_level()` method as follows:
```cpp
raft::logger::get.set_level(RAFT_LEVEL_WARN);
raft::logger::get().set_level(RAFT_LEVEL_WARN);
// From now onwards, this will print only WARN and above kind of messages
```

Expand Down

0 comments on commit afa5963

Please sign in to comment.