import { badgeLog } from 'ngwr/utils';
badgeLog('SAVED', '#10b981', 'profile updated');badgeLog
Logs a message to the browser console behind a coloured badge.
Usage
API
| Name | Description | Type | Default |
|---|---|---|---|
badgeLog(badge, color, message) | Logs message after a badge pill. color paints the pill's border and text, not a fill. | (badge, color, message) => void | — |