Compare commits

..

No commits in common. "main" and "clog-0.1.1" have entirely different histories.

2 changed files with 4 additions and 3 deletions

View File

@ -4,7 +4,7 @@
[project] [project]
name = "clog" name = "clog"
version = "0.2.1-alpha" version = "0.2.0-alpha"
description = "Logging as simple as putting on a shoe." description = "Logging as simple as putting on a shoe."
readme = "README.md" readme = "README.md"
requires-python = ">=3.7" requires-python = ">=3.7"

View File

@ -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, level=common.LogLevel.DEBUG, sep=sep, end=end, wrapping=wrapping, strace=strace) self.writeLog(*value, 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,7 +224,8 @@ 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, end=end, wrapping=wrapping, strace=strace) self.writeLog(*value, level=common.LogLevel.WARN, 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.WARN, value, sep, end) self.__log_info = LOG_INFO_TUPLE(IS_STDERR_REDIR, common.LogLevel.WARN, value, sep, end)