Briefle words · Code & architecture
Log level
A label on each log entry, such as debug, info, warning or error, showing how serious it is so logs can be filtered.
Say it to an AI
TypeScript renew(sub) job that charges the default card. Use our structured logger with proper log levels, not console.log: debug for progress, info for a successful renewal, warn for a card expiring this month, error for a failed charge.
How an expert would brief the stronger version of “Subscription renewal logs”.
See it
Try it as a puzzle →Background job in a SaaS billing system that charges a customer's card when their subscription renews.
Why: A uses logger.debug, logger.info, logger.warn and logger.error for the four situations. B uses console.log for all four.
Related words
Room 4 · Errors & edge cases
Learn “Log level” in a five-minute lesson