Bot releases are visible (Hide)
Published by koviubi56 10 months ago
StreamWriterHandler
's color_config
to Mapping[int, tuple[object, ...]]
DEFAULT_COLOR_CONFIG
StreamWriterHandler.color
StreamWriterHandler.level_to_str
.Name: mylog_0.9.1.zip
Size: 2529858 bytes (2470 KiB)
CRC32: 1D030503
CRC64: D89FEBEDE34CFF88
SHA256: bb08a39724e844f7d50fcb948b5d3055cd9fa06d008ce3ada04759c571c063f1
SHA1: bc0ed0582eac014136cf51725a3a45ec888e7536
BLAKE2sp: 6e0a9fee8c2f8f46259baf048e38e27df883b001686bdec136eeda162aa839ba
Published by koviubi56 10 months ago
Name: mylog_0.9.0.zip
Size: 2456043 bytes (2398 KiB)
CRC32: B7DB0693
CRC64: 80F5A54845E6C5FF
SHA256: 171309b2b307532e69222123af866402e3c6472c29ebf87076f042e87fabc17d
SHA1: b019f54607aef7f4629c482b574bc95b5ebb1fb4
BLAKE2sp: 3fafb26a6ac0c9e810806aa88d04ada2b59ee198d3264b5924937a219247dca4
Published by koviubi56 about 1 year ago
Changes from pre-releases are not listed here!
pyproject.toml
instead of setup.cfg
Name: mylog_0.8.0.zip
Size: 2222203 bytes (2170 KiB)
CRC32: CEE69B71
CRC64: 8323EA858B980D67
SHA256: 298f5bd3f5cbeec9ec27ad3fabea5ad5f0731a70e34d5dfca5395d31d836347d
SHA1: 14a2a8991be931798deed3be9d7bfd5dd60fd01b
BLAKE2sp: bb4694d7ce579c9487acf4c5f1a869eb59c681d080d0e3b45c55c46cf3086850
Published by koviubi56 over 1 year ago
Logger.is_enabled_for
about the threshold not being a Level
frame_depth
in Logger.log
(3 -> 4)Name: mylog_0.8.0-beta.2.zip
Size: 1994350 bytes (1947 KiB)
CRC32: AB926D13
CRC64: 1CBFDC9C94B628C0
SHA256: 709bdda7f1b07ace70f478c8bf806f6bab66d18028d570ed9fac7b2cc144e9f4
SHA1: 4f19a98ac7b6f557c0cdf10a6b9755584d33506b
BLAKE2sp: 8774a740429736230475442ecbc30d936a38b7cceba711384a8671b25bc3b096
Published by koviubi56 over 1 year ago
Logger._log
to Logger.log
, and its new signature is Logger.log(self: Self@Logger, lvl: Levelable, msg: Stringable, traceback: bool = False, frame_depth: int = 3) -> (LogEvent | None)
Name: mylog_0.8.0-beta.1.zip
Size: 1941591 bytes (1896 KiB)
CRC32: 75824D32
CRC64: 35A60DCB7B463C55
SHA256: 0e5de6255d4b86214c4c9714280f3f626c50ac723d5fdba1b11038b7091e04d3
SHA1: 42eebb8349c78696d8b8e2200038d33058feeb25
BLAKE2sp: c382b24e0d3df50af4fae07668ad76078cd5fe7a2cf5808ebf1ccac87110d9d1
Published by koviubi56 over 1 year ago
Logger.__init__(self: Self@Logger, name: str, higher: Logger | None = None) -> None
, new format substitution: {name}
, Logger.get_child(self: Self@Logger, name: str) -> Logger
#51AttributesToInherit
, Logger.compare_using_name
(=> Logger._thing_to_compare
), Logger.attributes_to_inherit
, Logger.color_config
(=> Logger.color(cls: Type[Self@Logger], rv: str) -> str
), and Logger.level_name_width
to make making changes to loggers easier.Logger._color
to Logger.color
(26ee19f
)SetAttr
,NoHandler
,StreamWriterHandler
,IndentLogger
,ChangeThreshold
,Logger.get_default_handlers
,Logger.level_to_str
Logger.threshold
is a Union[Level, int]
(26ee19f
)check_typed
and related (check_union
, is_union
, _check_types_error
) (ef85a86
)Name: mylog_0.7.0.zip
Size: 1771341 bytes (1729 KiB)
CRC32: 19B1F8CA
CRC64: D600DE419E779430
SHA256: 39246e07faea7f7d6b482aa3755371ddc7932e4b20e0c0b6b9f09f6d30552efc
SHA1: 83e6fa80004bccef0e16e3802737ca73594ee389
BLAKE2sp: 202b0d3e1e3efdc1a1db71b084e0830ed9aab74cb4a0afcd6e718191be4ea1e7
Published by koviubi56 over 2 years ago
Changed from pre-releases are listed here.
colorama.init()
call. mylog tries to import colorama, and call colorama.init()
, but if there's an exception, it will be ignored.typing-extensions
is not being used; it is not a dependencyPublished by koviubi56 over 2 years ago
Please note, that changes from previous pre-releases are not included, but will be in the final/stable release.
colorama.init()
call. mylog tries to import colorama, and call colorama.init()
, but if there's an exception, it will be ignored.Published by koviubi56 over 2 years ago
__repr__
to SetAttr
, NoHandler
, StreamWriterHandler
, Logger
, IndentLogger
, and ChangeThreshold
Published by koviubi56 over 2 years ago
Handler
ABC, StreamWriterHandler
, Logger.handlers
, Logger.get_default_handlers
tb
to LogEvent
SetAttr
Logger._inherit
does not have a parameter lock
Logger.format_msg
's signature looks like this: format_msg(self, event: LogEvent) -> str
Logger._actually_log
, Logger._log
, and the log methods (debug, info, ...) now return Optional[LogEvent]
Logger.lock
, Logger.flush
, Logger.stream
TeeStream
Lock
, NoLock
Published by koviubi56 over 2 years ago
TeeStream
.Logger.flush
. Defaults to True
. Not inherited. Must be set manually.StreamProtocol
Published by koviubi56 over 2 years ago
Changed from pre-releases are listed here.
UserWarning
is issued, if a log function is called with traceback=True
(or tb=True
) but there's no exception.Logger.is_enabled_for
issues a UserWarning
, if Logger.threshold
is not a Level
, and it tries to convert it.setup.cfg
too.get_*
methods were removed.Published by koviubi56 over 2 years ago
This is a pre-release so you can't found any hashes nor signatures.
Please note, that changes from previous pre-releases are not included, but will be in the final/stable release.
UserWarning
is issued, if a log function is called with traceback=True
(or tb=True
) but there's no exception.Logger.is_enabled_for
issues a UserWarning
, if Logger.threshold
is not a Level
, and it tries to convert it.get_*
methods were removed.Published by koviubi56 over 2 years ago
Full Changelog: https://github.com/koviubi56/mylog/commits/0.1.1
Published by koviubi56 over 2 years ago
Full Changelog: https://github.com/koviubi56/mylog/commits/0.1.0