Although it's slightly more verbose, I'd rather pass advice in directly, so we can do things like:

'Web Animations: Timeline.onstart is deprecated and will stop working on <whatever>. See <explainer doc> about how to recast Timeline events as custom effect callbacks'