Browse files

Add missing logging level shim

Signed-off-by: Daniel Farina <>
  • Loading branch information...
1 parent 1ceebee commit aa908640caf092229d4e9b680bcafc3d1dc9ccb0 Daniel Farina committed Oct 21, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 wal_e/
@@ -112,6 +112,10 @@ def log(self, level, msg, *args, **kwargs):
# could abuse dynamism to generate these bindings in a loop, but
# one day I hope to run with PyPy and tricks like that tend to
# lobotomize an optimizer something fierce.
+ def debug(self, *args, **kwargs):
+ self.log(logging.DEBUG, *args, **kwargs)
def info(self, *args, **kwargs):
self.log(logging.INFO, *args, **kwargs)

0 comments on commit aa90864

Please sign in to comment.