Skip to content

Commit

Permalink
tools: fix incorrect example for get_logger() [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
dgw committed Nov 17, 2020
1 parent d67c19e commit e9e327a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sopel/tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,8 +600,8 @@ def get_logger(plugin_name):
This::
from sopel import plugins
LOGGER = plugins.get_logger('my_custom_plugin')
from sopel import tools
LOGGER = tools.get_logger('my_custom_plugin')
is equivalent to this::
Expand Down

0 comments on commit e9e327a

Please sign in to comment.