Skip to content

Commit

Permalink
Fix logging documentation to use lowercase logger name
Browse files Browse the repository at this point in the history
  • Loading branch information
Harmon758 committed Apr 19, 2022
1 parent 743f87d commit 915854d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/logging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ example::

import logging
logger = logging.getLogger("Tweepy")
logger = logging.getLogger("tweepy")
logger.setLevel(logging.DEBUG)
handler = logging.FileHandler(filename="tweepy.log")
logger.addHandler(handler)
Expand Down

0 comments on commit 915854d

Please sign in to comment.