- Fatal calls to os.Exit(1).
- Panic calls to panic().
- Change name of NewStreamEmitter to NewBufferEmitter.
- Change name of NewDefaultEmitter to NewStreamEmitter.
- Remove default logger of xybor.
- Allow determine the buffer size in emitter.
- Support simple configuration.
- Increase at least 50% performance by using EventLogger pool.
- Modify benchmark: use JSONEncoding instead of TextEncoding; use io.Discard instead of devnull.
- Fix misspelling.
- Remove Logger.Flush method. Flush now is a global function which flushes all emitters.
- Handler now has many Emitters (instead only one).
- Remove root logger methods.
- Remove Rotating Emitters.
- Add more get methods to Logger and Handler.
- Public some functions, methods.
- Use lock more exactly.
- Refactor unittests.
- Improve performance by using buffer, pool, and reducing unnecessary works.
- Remove the old TextFormatter. StructuredFormatter is renamed to TextFormatter.
- EventLogger is adapted with the formatter. EventLogger.JSON is removed.
- Remove
message
macro. - Integrate Formatter to Handler and rename it to Encoding.
- Use encoding approach of zap.
- Add benchmark comparison.
- Add JSONFormatter and StructureFormatter.
- Change extra, message, and log design.
- It is possible to log stack trace.
- Migrated from the origin project.