Angular: Empty Fiddle

http://angularjs.org/

HTML

<script src="https://code.angularjs.org/1.2.0/angular.min.js"></script>
<script src="https://rawgit.com/jvorcak/jv-angular-logging/master/dist/jv-angular-logging.min.js"></script>
<div ng-controller="MyCtrl">
 <ul>
     <li>This is a demo that demonstrates how $log service can be used by jv.angular-logging module.</li>

    <li>Please open a console to see the results. Visit https://github.com/jvorcak/jv-angular-logging to learn about all of the options available.</li>
  </ul>
</div>

JavaScript

var myApp = angular.module('myApp',['jv.angular-logging']);

myApp.config(function(jvLoggingConfigProvider) {
    jvLoggingConfigProvider.setDecorateLog(true);
  });

function MyCtrl($log, jvLogLevel) {
    $log.info('Hello world');
    $log.warn('Another message');
}