Updated _logger.py
Fixed bug in class@debug() method where the appropriate level wasn't being passed.
This commit is contained in:
parent
8e6613412b
commit
d6afb45a73
|
|
@ -204,7 +204,7 @@ class Logger:
|
||||||
method can be invoked directly afterwards (or later) to write
|
method can be invoked directly afterwards (or later) to write
|
||||||
the same message to the console.
|
the same message to the console.
|
||||||
"""
|
"""
|
||||||
self.writeLog(*value, sep=sep, end=end, wrapping=wrapping, strace=strace)
|
self.writeLog(*value, level=common.LogLevel.DEBUG, sep=sep, end=end, wrapping=wrapping, strace=strace)
|
||||||
|
|
||||||
self.__std_pipe = sys.stderr
|
self.__std_pipe = sys.stderr
|
||||||
self.__log_info = LOG_INFO_TUPLE(IS_STDERR_REDIR, common.LogLevel.DEBUG, value, sep, end)
|
self.__log_info = LOG_INFO_TUPLE(IS_STDERR_REDIR, common.LogLevel.DEBUG, value, sep, end)
|
||||||
|
|
@ -224,8 +224,7 @@ class Logger:
|
||||||
method can be invoked directly afterwards (or later) to write
|
method can be invoked directly afterwards (or later) to write
|
||||||
the same message to the console.
|
the same message to the console.
|
||||||
"""
|
"""
|
||||||
self.writeLog(*value, level=common.LogLevel.WARN, sep=sep,
|
self.writeLog(*value, level=common.LogLevel.WARN, sep=sep, end=end, wrapping=wrapping, strace=strace)
|
||||||
end=end, wrapping=wrapping, strace=strace)
|
|
||||||
|
|
||||||
self.__std_pipe = sys.stderr
|
self.__std_pipe = sys.stderr
|
||||||
self.__log_info = LOG_INFO_TUPLE(IS_STDERR_REDIR, common.LogLevel.WARN, value, sep, end)
|
self.__log_info = LOG_INFO_TUPLE(IS_STDERR_REDIR, common.LogLevel.WARN, value, sep, end)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user