view logs in UX

This commit is contained in:
Matias Alejo Garcia 2015-04-25 12:37:04 -03:00
commit f47d6b0564
16 changed files with 188 additions and 47 deletions

View file

@ -0,0 +1,19 @@
'use strict';
var logs = [];
angular.module('copayApp.services')
.factory('historicLog', function historicLog() {
var root = {};
root.add = function(level, msg) {
logs.push({
level: level,
msg: msg,
});
};
root.get = function() {
return logs;
};
return root;
});