LogstashBasicMarker is a now obsolete copy of org.slf4j.helpers.BasicMarker at version 1.7.12
The original implementation has been updated and improved since then. The version included in logback-logstash-encoder should be updated accordingly.
A few points:
- replace the use of Vector by a more efficient List implementation
- use a StringBuilder instead of a StringBuffer
Note: Slf4J BasicMarker has a package protected constructor and cannot be easily re-used in other project - reason why the project maintains its own copy.