Skip to content

Commit 99a343e

Browse files
bazile-clydekevinAlbs
authored andcommitted
CDRIVER-3904 move log handler above init in logging example (#736)
1 parent 1423c22 commit 99a343e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libmongoc/doc/logging.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ For example, you could register a custom handler to suppress messages at INFO le
9191
int
9292
main (int argc, char *argv[])
9393
{
94-
mongoc_init ();
9594
mongoc_log_set_handler (my_logger, NULL);
95+
mongoc_init ();
9696
9797
/* ... your code ... */
9898

0 commit comments

Comments
 (0)