title: Logging in vuejs without console.log
body: <p>I want to have console logging while I'm developing in VueJS but want it disabled for production.</p>
  
  <p>There is a module <code>vuejs-logger</code> that works fine inside of a Vue component and will be disabled in production mode. But it will not work (for instance) in my service files or library files (outside of Vue instance), nor in Vuex.</p>
  
  <p>Does anyone have any other suggestions? Vuejs integrated or otherwise?</p>
  
  <p>Stay safe, TIA</p>
  
  <p><strong>Edit:</strong> Just to clarify, vuejs-logger Typescript integration is the real problem. It throws up so many TS errors that I cannot use it. The actual JS logging seems to work... I'm still interested in other solutions that may work smoothly.</p>