| name | teqfw-log |
| description | Use this skill when integrating, using, testing, reviewing, or modifying JavaScript modules that consume @teqfw/log, including its DI provider, source-bound loggers, structured records, browser or Node.js console behavior, and package metadata. |
@teqfw/log
Use this skill for consumer code that composes or depends on the installed @teqfw/log package. Treat the host project's instructions, architecture, and test conventions as authoritative.
Apply
- Use only the public entrypoint
@teqfw/log; never import @teqfw/log/src/**.
- Receive
TeqFw_Log_Provider through DI or assembly, bind one stable TeqFW component source with forSource(), and reuse the returned logger.
- Put a short human-readable message in
message, machine-readable context in data, and caught errors in data.err; do not log secrets or full user payloads.
- Let the host application's Composition Root configure the Container and logging policy; do not construct internal logger or writer classes.
- Read the selected references before editing, then validate with the host project's tests.
Select References
| Consumer task | Read |
|---|
| Understand contract boundaries, levels, records, or sources | Concepts |
| Add or change DI logging or source binding | Usage |
| Verify imports, TypeScript-facing APIs, or supported runtime components | Package API |
| Mount or discover the installed skill | Distribution |
This package defines a small logging contract, not a logging framework or application policy. Keep backend routing, transports, storage, telemetry, and configuration DSLs outside its core boundary.