mirror of https://github.com/mgba-emu/mgba.git
Python: Add NullLogger
This commit is contained in:
parent
3496449517
commit
3310210dc7
|
@ -32,3 +32,7 @@ class Logger(object):
|
|||
|
||||
def log(self, category, level, message):
|
||||
print("{}: {}".format(self.categoryName(category), message))
|
||||
|
||||
class NullLogger(Logger):
|
||||
def log(self, category, level, message):
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue