mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
Hacked out format into our logging calls.
This commit is contained in:
parent
8512f52e27
commit
304ad0868e
@ -90,6 +90,10 @@ class Logger(logging.Logger):
|
|||||||
def verbose(self, *args, **kwargs):
|
def verbose(self, *args, **kwargs):
|
||||||
self.log(VERBOSE, *args, **kwargs)
|
self.log(VERBOSE, *args, **kwargs)
|
||||||
|
|
||||||
|
def _log(self, level, msg, args, exc_info=None):
|
||||||
|
msg = format(msg, *args)
|
||||||
|
logging.Logger._log(self, level, msg, (), exc_info=exc_info)
|
||||||
|
|
||||||
|
|
||||||
class StdoutStreamHandler(logging.StreamHandler):
|
class StdoutStreamHandler(logging.StreamHandler):
|
||||||
def disable(self):
|
def disable(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user