Skip to content

Commit abf6623

Browse files
committed
Renamed debugger to logger.
1 parent fa78237 commit abf6623

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

components.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function Component() {
8888
t.variables = t.variables2 = {};
8989
t.secrets = {};
9090
t.instances = [];
91-
t.debugger = true;
91+
t.logger = true;
9292
}
9393

9494
Component.prototype.service = function(counter) {
@@ -97,22 +97,22 @@ Component.prototype.service = function(counter) {
9797
};
9898

9999
Component.prototype.status = function(instance, msg) {
100-
if (t.debugger)
100+
if (t.logger)
101101
console.log('STATUS', this.name, msg);
102102
};
103103

104104
Component.prototype.debug = function(instance, msg) {
105-
if (t.debugger)
105+
if (t.logger)
106106
console.log('DEBUG', this.name + ':', msg);
107107
};
108108

109109
Component.prototype.dashboard = function(instance, msg) {
110-
if (t.debugger)
110+
if (t.logger)
111111
console.log('DASHBOARD', this.name + ':', msg);
112112
};
113113

114114
Component.prototype.throw = function(instance, err) {
115-
if (t.debugger)
115+
if (t.logger)
116116
console.log('ERROR', this.name + ':', err);
117117
};
118118

0 commit comments

Comments
 (0)