Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Merge pull request #81 from SitiSchu/master
Browse files Browse the repository at this point in the history
Update examples to use .warning()
  • Loading branch information
metachris committed Feb 23, 2018
2 parents 7e8c38c + 0cb5527 commit 6ddf3c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ You can use `logzero` like this (logs only to the console by default):
# These log messages are sent to the console
logger.debug("hello")
logger.info("info")
logger.warn("warn")
logger.warning("warning")
logger.error("error")
# This is how you'd log an exception
Expand Down Expand Up @@ -231,7 +231,7 @@ files and modules directly like this:
logger.debug("hello")
logger.info("info")
logger.warn("warn")
logger.warning("warning")
logger.error("error")
You can reconfigure the default logger globally with `logzero.setup_default_logger(..) <#i-logzero-setup-default-logger>`_.
Expand Down

0 comments on commit 6ddf3c2

Please sign in to comment.