easylogger-integration
Skill36 starsChanged 5 months agoMITView on GitHub
Use when integrating, porting, configuring, or debugging EasyLogger output, filters, timestamps, colors, async logging, flash logging, or embedded log loss
In this repository75 other files it gives its agents.
- 8051-mcu-debugSkill
- avem-integrationSkill
- battery-charger-fuel-gauge-integrationSkill
- ble-gatt-integrationSkill
- bootloader-debugSkill
- canbus-integrationSkill
- canopen-integrationSkill
- cellular-at-modem-integrationSkill
- cmbacktrace-integrationSkill
- cmsis-dsp-integrationSkill
- cortex-m-debugSkill
- cortex-r5-debugSkill
- crc-checksum-integrationSkill
- embedded-app-example-libsSkill
- embedded-buffer-queue-libsSkill
- embedded-data-parsing-libsSkill
- embedded-debug-entrySkill
- embedded-fault-debugSkill
- embedded-framework-libsSkill
- embedded-input-libsSkill
- embedded-library-entrySkill
- embedded-linux-login-debugSkill
- embedded-peripheral-bringupSkill
- embedded-serial-log-debugSkill
- embedded-state-machine-libsSkill
- embedded-timing-libsSkill
- epd-integrationSkill
- esp-idf-integrationSkill
- fatfs-integrationSkill
- flashdb-integrationSkill
- freemodbus-integrationSkill
- freertos-kernel-debugSkill
- freertos-plus-tcp-integrationSkill
- gnss-gps-integrationSkill
- hardware-interface-debugSkill
- heatshrink-integrationSkill
- letter-shell-integrationSkill
- littlefs-integrationSkill
- low-power-debugSkill
- lvgl-integrationSkill
- lwip-integrationSkill
- mbedtls-integrationSkill
- mcuboot-integrationSkill
- mcu-flashing-debugSkill
- micro-ecc-integrationSkill
- miniz-integrationSkill
- mqtt-embedded-integrationSkill
- nanopb-integrationSkill
- nrf-connect-sdk-integrationSkill
- nr-micro-shell-integrationSkill
- openocd-jlink-stlink-debugSkill
- openthread-integrationSkill
- ota-update-integrationSkill
- plooc-integrationSkill
- power-management-integrationSkill
- qspi-xip-flash-debugSkill
- readme-writingSkill
- riscv-mcu-debugSkill
- rtos-debugSkill
- rt-thread-integrationSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use this skill to integrate EasyLogger without making logs distort the system being debugged.
- Distinctive: line 14
Use this skill when:
- Very specific: line 20
Do not use this skill when the issue is raw UART capture quality.
- Distinctive: line 42
Avoid enabling verbose logs globally on timing-sensitive firmware.
- Distinctive: line 45
Use mutexes or critical sections when multiple tasks or ISRs can log.
- Distinctive: line 72
Before claiming EasyLogger works:
- Distinctive: line 78
If persistent logging is enabled, confirm storage and erase policy.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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_cfgand port functions if available. - Symptom and sample log output.
Integration Checklist
- Bring up one output path. Prove a minimal blocking UART/RTT output works before enabling async, flash, or network logging.
- Implement port functions deliberately. Output, lock/unlock, time, and optional color handling must match the target environment.
- Set log levels and filters. Avoid enabling verbose logs globally on timing-sensitive firmware.
- Decide concurrency policy. Use mutexes or critical sections when multiple tasks or ISRs can log.
- Bound cost. Understand stack, heap, formatting, blocking time, and output bandwidth.
- Preserve diagnostic value. Logs should include module, level, time, and enough context to correlate with faults or events.
Porting Checks
elog_port_outputcannot 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:
- Asks for backend, lock implementation, task/ISR logging paths, baud rate, and async setting.
- Checks whether output blocks while holding a mutex.
- Verifies task logs and ISR policy separately before changing log levels.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

