Logging application analytics and errors
We covered how to alert the user when things happen. Now, let's look at how you can build a
logging service that you can use to alert you when things happen in your application.
Logging and tracing is another layer that cuts across all of the other layers in your application. The
BrowserConsoleAppender, which sends all output to the console window in your browser:
angular.module('brew-everywhere').factory('logging', function (messaging, ...