- add
WithDuration()
method to record a duration as milliseconds - add: ignore nil errors in
WithError()
- change trace duration to milliseconds (arguably a breaking change)
- refactor apexlogs handler to not make the AddEvents() call if there are no events to flush
- fix potential nil panic in apexlogs handler
- add FlushSync() to apexlogs handler
- update apex/logs dep to v1.0.0
- docs: mention that Flush() is non-blocking now, use Close()
- add buffering to Apex Logs handler
- add AuthToken to apexlogs handler
- change FromContext() to always return a logger
- add log.NewContext() and log.FromContext(). Closes #78
- add apexlogs HTTPClient support
- add events len check before flushing to apexlogs handler
- refactor apexlogs handler to use github.com/apex/logs client
- add go.mod
- add rough pass at apexlogs handler
- fix: cli handler to show non-string fields appropriately
- fix: cli using fatih/color to better support windows