All Versions
17
Latest Version
Avg Release Cycle
58 days
Latest Release
-
Changelog History
Page 1
Changelog History
Page 1
-
v5.0.1 Changes
๐ Fixed
- ๐ Fix 'Initialization of 'UnsafePointer' results in a dangling pointer' compiler warning.
- ๐ Fixed crash in AsyncWriterProxy buffering when buffer is empty.
-
v5.0.0 Changes
December 10, 2019โ Added
- โ Added
OutputStreamFormatterprotocol to define formatters for use with byte output stream type Writers. - โ Added
TextFormat, an implementation of a OutputStreamFormatter that formats its output based on a supplied template (this is the default formatter for Console and File output). - โ Added
JSONFormat, an implementation of a OutputStreamFormatter that formats its output in standard JSON format. - โ Added
OutputStreamWriterprotocol to define types that write byte streams to their output and acceptOutputStreamFormattertypes to format the output. - โ Added
LogEntrytuple type toWriterdefining the formal types that a Writer writes. - โ Added
.bufferoption for.asyncconcurrency modes to allow for buffering when the writer is not available to write to its endpoint. - โ Added protected data monitoring for
FileWriter.Strategy.fixedon iOS for use withAsyncConcurrencyModeOption.buffer(writeInterval:strategy:). This allows TraceLog to be started up before protected data is available on iOS.
Upated
- Requires Swift 5 for compilation.
- ๐ Changed parameters to
.asyncto include options for configuration of the mode (.async(options: Set<AsyncConcurrencyModeOption>)and.async(Writer, options: Set<AsyncConcurrencyModeOption>)). - ๐ Changed
Writerprotocollog()method towrite(_ entry: Writer.LogEntry)to make it easier to process messages by writers and formatters. - ๐ Changed
Writerreturn toSwift.Result<Int, FailedReason>to return instructions for TraceLog for buffering and error recovery. - ๐ Changed
ConsoleWriterto accept newOutputStreamFormatterinstances allowing you to customize the output log format (default isTextFormat.) - ๐ Changed
FileWriterpublic interfaceFileWriternow requires the log directory be passed in, removing default value of./.- Removed the
fileConfigurationparameter replacing with newstrategyenum. - It now accepts the new
OutputStreamFormatterinstances allowing you to customize the output log format (default isTextFormat.)
- ๐ Changed
FileWriterarchive file name date format to "yyyyMMdd-HHmm-ss-SSS" (This was done for maximum compatibility between platforms and can be overridden in the FileConfiguration object passed at init.) TextFormatto addvar encoding: String.Encoding { get }requirement.JSONFormatto addvar encoding: String.Encoding { get }requirement.- ๐ Renamed
AsyncOptiontoAsyncConcurrencyModeOption. - ๐ Changed
OutputStreamFormatter, it now requiresvar encoding: String.Encoding { get }. - ๐ Renamed
FileWriter.FileStrategytoFileWriter.Strategy. - ๐ Renamed
FileWriter.Strategy.RotateOptiontoFileWriter.Strategy.RotationOption.
โ Removed
- โ Removed
TraceLogTestHarnessmodule.
๐ Fixed
- ๐ Fixed
logTracewhen no trace level is passed. It's now the correct default value of 1 instead of 4 (issue #58).
- โ Added
-
v5.0.0-beta.4 Changes
September 16, 2019โก๏ธ Updated
- Corrected availability of FileWriter and FileStrategyRotate so that they compile correctly on iOS.
-
v5.0.0-beta.3 Changes
September 15, 2019โ Added
- โ Added protected data monitoring for
FileWriter.Strategy.fixedon iOS for use withAsyncConcurrencyModeOption.buffer(writeInterval:strategy:). This allows TraceLog to be started up before protected data is available on iOS.
- โ Added protected data monitoring for
-
v5.0.0-beta.2 Changes
March 04, 2019โ Added
- โ Added extensive HTML documentation including user guides and a complete API reference.
๐ Changed
- ๐ Renamed
AsyncOptiontoAsyncConcurrencyModeOption. - ๐ Changed
OutputStreamFormatter, it now requiresvar encoding: String.Encoding { get }. - ๐ Renamed
FileWriter.FileStrategytoFileWriter.Strategy. - ๐ Renamed
FileWriter.Strategy.RotateOptiontoFileWriter.Strategy.RotationOption.
โก๏ธ Updated
TextFormatto addvar encoding: String.Encoding { get }requirement.JSONFormatto addvar encoding: String.Encoding { get }requirement.
-
v5.0.0-beta.1 Changes
February 25, 2019โ Added
- โ Added
OutputStreamFormatterprotocol to define formatters for use with byte output stream type Writers. - โ Added
TextFormat, an implementation of a OutputStreamFormatter that formats its output based on a supplied template (this is the default formatter for Console and File output). - โ Added
JSONFormat, an implementation of a OutputStreamFormatter that formats its output in standard JSON format. - โ Added
OutputStreamWriterprotocol to define types that write byte streams to their output and acceptOutputStreamFormattertypes to format the output. - โ Added
LogEntrytuple type toWriterdefining the formal types that a Writer writes. - โ Added
.bufferoption for.asyncconcurrency modes to allow for buffering when the writer is not available to write to its endpoint.
๐ Changed
- Requires Swift 5 for compilation.
- ๐ Changed parameters to
.asyncto include options for configuration of the mode (.async(options: Set<AsyncOption>)and.async(Writer, options: Set<AsyncOption>)). - ๐ Changed
Writerprotocollog()method towrite(_ entry: Writer.LogEntry)to make it easier to process messages by writers and formatters. - ๐ Changed
Writerreturn toSwift.Result<Int, FailedReason>to return instructions for TraceLog for buffering and error recovery. - ๐ Changed
ConsoleWriterto accept newOutputStreamFormatterinstances allowing you to customize the output log format (default isTextFormat.) - ๐ Changed
FileWriterpublic interfaceFileWriternow requires the log directory be passed in, removing default value of./.- Removed the
fileConfigurationparameter replacing with newstrategyenum. - It now accepts the new
OutputStreamFormatterinstances allowing you to customize the output log format (default isTextFormat.)
- ๐ Changed
FileWriterarchive file name date format to "yyyyMMdd-HHmm-ss-SSS" (This was done for maximum compatibility between platforms and can be overridden in the FileConfiguration object passed at init.)
โ Removed
- โ Removed
TraceLogTestHarnessmodule.
๐ Fixed
- ๐ Fixed
logTracewhen no trace level is passed. It's now the correct default value of 1 instead of 4 (issue #58).
- โ Added
-
v4.0.1 Changes
September 10, 2018๐ Fixed
- โ Adding missing newline to
ConsoleWriteroutput (issue #55).
- โ Adding missing newline to
-
v4.0.0 Changes
September 06, 2018โ Added
- โ Added mode to TraceLog.configuration to allow direct, async, or sync mode of operation. Sync & direct mode are useful for use cases that have short-lived processes (scripts) or require real-time logging.
- โ Added ability to set the concurrency mode individually for each Writer.
- โ Added
FileWriterclass for writing to local log files. - โ Added
TestHarnessto assist developers in testing their ownWritertypes. - โ Added
shellutility to assist in testingWritertypes. - โ Added TraceLogTestTools module/library to allow use of new
TestHarnessand other Utilities.
โ Removed
- โ Removed all Xcode projects, Xcode projects are now generated using Swift Package Manager.
- โฌ๏ธ Dropped iOS 8 support.
-
v4.0.0-beta.3 Changes
July 06, 2018โ Added
- โ Added
FileWriterclass for writing to local log files.
- โ Added
-
v4.0.0-beta.2 Changes
June 26, 2018โ Added
- โ Added
TestHarnessto assist developers in testing their ownWritertypes. - โ Added
shellutility to assist in testingWritertypes. - โ Added TraceLogTestTools module/library to allow use of new
TestHarnessand other Utilities.
โ Removed
- โ Removed the
UnifiedLoggingWriterand instead using externalAdaptiveSystemLogWriterwhich adapts to various platforms for latest system log.
- โ Added