Enhance logging with timestamps and filtering.
This commit is contained in:
parent
f9125e1193
commit
b7cfd86f22
14 changed files with 257 additions and 13 deletions
20
src/js/directives/logOptions.js
Normal file
20
src/js/directives/logOptions.js
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.directives')
|
||||
.directive('logOptions', function($timeout) {
|
||||
return {
|
||||
restrict: 'E',
|
||||
templateUrl: 'views/includes/logOptions.html',
|
||||
transclude: true,
|
||||
scope: {
|
||||
show: '=logOptionsShow',
|
||||
options: '=logOptions',
|
||||
title: '=logOptionsTitle'
|
||||
},
|
||||
link: function(scope, element, attrs) {
|
||||
scope.hide = function() {
|
||||
scope.show = false;
|
||||
};
|
||||
}
|
||||
};
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue