<p dir="auto">Please see <a href="http://jsfiddle.net/5sH6A/174/" rel="nofollow">http://jsfiddle.net/5sH6A/174/</a> and press "Click me"</p>
<h3 dir="auto">What problem does this feature solve?</h3>
<p dir="auto">I would like to use the same methodoligy as vue, for custom error-messages: show them in dev, hide them on prod (except if there is a error-handler in place).</p>
<p dir="auto">For that it would be useful if I could just use vues built-in warn-function instead of duplicating that logic.</p>
<h3 dir="auto">What does the proposed API look like?</h3>
<p dir="auto">import Vue from 'vue'</p>
<p dir="auto">Vue.warn('My message')</p>