mirror of
https://github.com/a2-4am/passport.py.git
synced 2024-06-25 14:29:28 +00:00
9 lines
261 B
Python
9 lines
261 B
Python
|
from passport.loggers.default import DefaultLogger
|
||
|
import sys
|
||
|
|
||
|
class DebugLogger(DefaultLogger):
|
||
|
"""print usual log to stdout, print extra debugging information to stderr"""
|
||
|
def debug(self, s):
|
||
|
sys.stderr.write(s)
|
||
|
sys.stderr.write("\n")
|