1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

Emit Log.error with a log level of ERROR

This commit is contained in:
Donald Stufft 2013-08-04 23:13:08 -04:00
parent ce79c72247
commit 7685533a40

View file

@ -80,7 +80,7 @@ class Logger(object):
self.log(self.WARN, msg, *args, **kw)
def error(self, msg, *args, **kw):
self.log(self.WARN, msg, *args, **kw)
self.log(self.ERROR, msg, *args, **kw)
def fatal(self, msg, *args, **kw):
self.log(self.FATAL, msg, *args, **kw)