Allow debug level to be set.
This commit is contained in:
parent
68d58640e8
commit
e16b86d768
1 changed files with 2 additions and 2 deletions
|
@ -23,9 +23,9 @@ class Output(object):
|
|||
"""Write an informational message."""
|
||||
self.write(s, level=level)
|
||||
|
||||
def debug(self, s):
|
||||
def debug(self, s, level=2):
|
||||
"""Write a debug message."""
|
||||
self.write(s, level=2, color='white')
|
||||
self.write(s, level=level, color='white')
|
||||
|
||||
def warn(self, s):
|
||||
"""Write a warning message."""
|
||||
|
|
Loading…
Reference in a new issue