Skip to main content
Generate a logger class and its test file in the target module. It writes modules/<module>/src/loggers/<Name>Logger.ts and modules/<module>/tests/loggers/<Name>Logger.spec.ts, installing the @talosjs/logger dependency if it is missing.

Usage

Examples

Options

AI Skill

This command ships a matching logger:create skill. Your AI agent uses it to generate the logger class and its test file, then implement init and the log, debug, info, success, warn, and error methods for the ILogger interface from @talosjs/logger.