Releases: beeware/std-nslog
Releases · beeware/std-nslog
Release list
2.0.0
This is the first release in the v2.0 series. While it should be backwards compatible with the 1.0 series, it has some major internal changes - in particular, it is now a binary module, rather than being pure Python. This is needed to integrate with Apple's new os_log logging infrastructure.
New features:
- Output redirection now writes to Apple's unified logging system (
os_log) instead of the deprecatedNSLogAPI. Output written tostdoutandstderrappears in Console.app andlog streamas before, but is now tagged with theOS_LOG_TYPE_DEFAULTandOS_LOG_TYPE_ERRORlevels respectively, so the two streams can be filtered separately. - The
encodingattribute on the writer is now"utf-8"(previously"utf-16-le"/"utf-16-be"), reflecting the underlying API. - Null characters (
\x00) are now replaced with Java's "Modified UTF-8" encoding (\xc0\x80), rather than being silently dropped.
2.0.0rc1
Release candidate for a new os_log-based logging mechanism.