modules/<module>/src/loggers/<Name>Logger.ts and modules/<module>/tests/loggers/<Name>Logger.spec.ts, and installs the @ooneex/logger dependency if it is missing.
Usage
Examples
Options
| Option | Description | Default |
|---|---|---|
--name | Resource name (the Logger suffix is appended automatically). | Prompted if omitted |
--module | Target module. | shared |
--override | Overwrite an existing file without confirmation. | false |
AI Skill
This command ships a matchinglogger:create skill. Your AI agent uses it to generate a new logger class and its test file, then implement init and the log, debug, info, success, warn, and error methods for the ILogger interface from @ooneex/logger.
- Claude
- Codex