Skip to content
Development
Skill

/easylogger-integration

Use when integrating, porting, configuring, or debugging EasyLogger output, filters, timestamps, colors, async logging, flash logging, or embedded log loss

From plugin
aix-skills
3976 skills

Claude Code

$ npx -y skills add easyzoom/aix-skills --skill easylogger-integration --agent claude-code

SKILL.md

easylogger-integration.SKILL.md
name: easylogger-integration
description: Use when integrating, porting, configuring, or debugging EasyLogger output, filters, timestamps, colors, async logging, flash logging, or embedded log loss

EasyLogger Integration

Overview

Use this skill to integrate EasyLogger without making logs distort the system being debugged. Confirm output backend, timestamp source, concurrency, buffer policy, and log level before relying on logs as evidence.

When To Use

Use this skill when:

  • The user wants to add or debug EasyLogger in MCU, RTOS, or bare-metal firmware.
  • Logs are missing, truncated, blocking, out of order, too slow, too verbose, or not timestamped correctly.
  • The task involves `elog_port`, UART output, flash/file logging, filters, colors, async output, or runtime log levels.

Do not use this skill when the issue is raw UART capture quality. Use `embedded-serial-log-debug` first.

First Questions

Ask for:

  • Target MCU/RTOS/compiler and EasyLogger version or source.
  • Output backend: UART, RTT, semihosting, file, flash, network, shell, or custom.
  • Whether logs can block, allocate memory, or run in interrupt context.
  • Timestamp source and desired format.
  • Current `elog_cfg` and port functions if available.
  • Symptom and sample log output.

Integration Checklist

1. Bring up one output path. Prove a minimal blocking UART/RTT output works before enabling async, flash, or network logging.

1. Implement port functions deliberately. Output, lock/unlock, time, and optional color handling must match the target environment.

1. Set log levels and filters. Avoid enabling verbose logs globally on timing-sensitive firmware.

1. Decide concurrency policy. Use mutexes or critical sections when multiple tasks or ISRs can log.

1. Bound cost. Understand stack, heap, formatting, blocking time, and output bandwidth.

1. Preserve diagnostic value. Logs should include module, level, time, and enough context to correlate with faults or events.

Porting Checks

  • `elog_port_output` cannot deadlock if called from error paths.
  • Lock implementation is safe before and after scheduler start.
  • ISR logging policy is explicit: forbidden, buffered, or minimal.
  • Timestamp source is initialized before first log or handles early boot.
  • UART backend does not block forever if host is disconnected.
  • Flash/file logging does not erase production data without approval.

Common Failures

  • Logs disappear because output port is not initialized before first log.
  • System timing changes because logging blocks in a high-frequency path.
  • Deadlock occurs because logger lock is used inside a locked driver.
  • Timestamps are always zero because tick source starts after logger init.
  • HardFault handler logs too much and corrupts stack or blocks.

Verification

Before claiming EasyLogger works:

  • State output backend, timestamp source, lock policy, and log level.
  • Confirm one log from early init and one log after scheduler start if RTOS is used.
  • Confirm logs are not lost or garbled at the chosen baud/backend speed.
  • Confirm ISR/error-path logging policy.
  • If persistent logging is enabled, confirm storage and erase policy.

Example

User:

EasyLogger 接上了,但 FreeRTOS 里偶尔日志乱序还卡住。

Agent:

1. Asks for backend, lock implementation, task/ISR logging paths, baud rate, and async setting. 1. Checks whether output blocks while holding a mutex. 1. Verifies task logs and ISR policy separately before changing log levels.

Read more
@easyzoom
Ships withaix-skills

AIX Skills is a public collection of Agent Skills, templates, and references for building repeatable AI workflows.

Stars on GitHub

Momentum

stars in total
39
Star history of easyzoom/aix-skills on GitHub, a chart by star-history.com

Other skills on aix-skills.

8051-mcu-debug

8051-mcu-debug

Use when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers,…

@easyzoom@easyzoomInstall Skill
avem-integration

avem-integration

Use when integrating, evaluating, configuring, or debugging Avem embedded C framework modules, event-driven components, drivers,…

@easyzoom@easyzoomInstall Skill
ble-gatt-integration

ble-gatt-integration

Use when integrating, designing, or debugging BLE GATT services, characteristics, descriptors, MTU, notifications, indications,…

@easyzoom@easyzoomInstall Skill
bootloader-debug

bootloader-debug

Use when debugging embedded bootloaders, application jumps, vector table offsets, firmware upgrade flow, OTA state, image…

@easyzoom@easyzoomInstall Skill
canbus-integration

canbus-integration

Use when integrating, porting, configuring, or debugging CAN bus libraries, CANBus-Triple, MCP2515, CAN frames, bit timing,…

@easyzoom@easyzoomInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about easylogger-integration.

Which coding agents can use easylogger-integration?
easylogger-integration installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.