# armink/EasyLogger

An ultra-lightweight(ROM<1.6K, RAM<0.3k), high-performance C/C++ log library. | 一款超轻量级(ROM<1.6K, RAM<0.3k)、高性能的 C/C++ 日志库

Repository: https://github.com/armink/EasyLogger
Canonical: https://ross.abutalabs.com/products/easylogger
Language: C
License: MIT
License Family: permissive
Topics: logger, c, high-performance, lightweight, log, logging
Last push: 2026-08-13T09:41:35+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 97, release rhythm 8, longevity 100
- inputs: {"age_days": 4134, "days_push": 20, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4733, forks 1317 (observed 2026-08-28T04:08:57.706145+00:00)

## What it is
EasyLogger is an ultra-lightweight, high-performance C/C++ logging library designed for resource-constrained projects like IoT products, wearables, and smart home devices. It supports customizable output backends, dynamic filtering by tag/level/keyword, colored output, async and buffered modes, and extensibility via plugins such as Flash and File logging.

## Use cases
- add logging to an embedded firmware with under 2KB ROM budget
- log from a bare-metal microcontroller without an OS
- store logs directly in flash on devices without a filesystem
- filter logs dynamically by tag, level, or keyword at runtime
- output colored logs to a serial terminal
- port a single logging library across RT-Thread, FreeRTOS-like RTOSes, Linux, and Windows

## When to choose
- you need logging on resource-constrained embedded or IoT devices
- you want a tiny, fast C logging library with minimal API surface
- you need flash-based log storage without a filesystem
- you need cross-RTOS and bare-metal portability

## When to avoid
- you need rich structured logging or JSON output in server-side applications
- you need multiple simultaneous output configurations (it is singleton)
- you want a batteries-included logging ecosystem like log4c or spdlog
- your project is not C/C++

## Facets
- artifact type: library
- maturity: stable
- function: logging
- domain: embedded-systems, developer-tools, iot
- platform: c, cpp, windows, embedded, cross-platform
- tags: lightweight, embedded, rtos, flash-logging, log-filtering, thread-safe, linux

## Member repositories
- armink/EasyLogger (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:57.706145+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:19:00.454436+00:00, confidence not recorded.
  - readme: https://github.com/armink/EasyLogger (fetched 2026-08-28T04:08:57.706145+00:00, sha 9d75760b5f26)
- Data as of 2026-08-30T08:39:29.467469+00:00.
