Skip to content

Commit

Permalink
Add failure to ReturnLogger & PrintLogger
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Jul 3, 2015
1 parent 8dcb956 commit 944e559
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions structlog/_loggers.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def msg(self, message):
until_not_interrupted(self._flush)

log = debug = info = warn = warning = msg
err = error = critical = exception = msg
failure = err = error = critical = exception = msg


class ReturnLoggerFactory(object):
Expand Down Expand Up @@ -122,4 +122,4 @@ def msg(self, *args, **kw):
return args, kw

log = debug = info = warn = warning = msg
err = error = critical = exception = msg
failure = err = error = critical = exception = msg

0 comments on commit 944e559

Please sign in to comment.