$ account aliyun
This repository provides a Logback appender for sending logs to Alibaba Cloud Log Service (SLS). It extends Logback's UnsynchronizedAppenderBase to asynchronously transmit log events to SLS with configurable formatting, MDC field processing, and custom credentials support. The architecture consists of a main appender class (LoghubAppender) that processes logging events, converts them to LogItems, and sends them via the underlying aliyun-log-producer. Key features include real-time transmission, asynchronous processing, MDC field capture with renaming capabilities, and support for custom credentials providers. The codebase demonstrates standard library patterns with one notably reusable component for MDC field processing.