Twitter Logging Service v1.2.0 Release Notes
Release Date: 2014-12-06 // over 9 years ago-
- Made class
TLSFileOutputStream
more abstract as a base + protected implementation - no longer implements @protocol
TLSDataRetrieval
- keeps the generic readonly @property 'constants', but makes them @protected
- 0️⃣ implements one default initializer taking a logging directory and a file name
- 0️⃣ implements one convenience initializer taking a file name and making use of the default logging directory
- 👉 makes 'init' NS_UNAVAILABLE
- keeps the public
defaultLogFileDirectory
class method & thetls_outputLogInfo:
andtls_flush
methods - keep the several protected
(void)write
methods 🔨 refactor some portions of
(instancetype)initWithLogFileDirectoryPath:logFilePrefix:maxLogFiles:maxBytesPerLogFile:error:
to new protectedcreateLogFileDirectoryPath:error:
&openLogFile:error:
Made new protocol
TLSFileOutputStreamEvent
based on methods that had been "abstract" and "overrideable" in the old TLSFileOutputStream👉 makes use of the new typedef
TLSFileOutputEvent
for the first argument of all functionsMade new class
TLSRollingFileOutputStream
as a concrete implementation ofTLSFileOutputStream
copied over all of the old initializers from
TLSFileOutputStream
copied over from
TLSFileOutputStream
the @property items that were specific to rolling file output streaminterface creates new NS_ENUM
TLSRollingFileOutputEvent
(based uponTLSFileOutputEvent
and override-ablefileStreamEvent
methodstakes over implementation of protocol
TLSDataRetrieval
takes over implementation of
fileOutputEventBegan/Finished/Failed
methods via implementation of the @protocolTLSFileOutputStreamEvent
- Made class