File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff 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
9494Component . prototype . service = function ( counter ) {
@@ -97,22 +97,22 @@ Component.prototype.service = function(counter) {
9797} ;
9898
9999Component . prototype . status = function ( instance , msg ) {
100- if ( t . debugger )
100+ if ( t . logger )
101101 console . log ( 'STATUS' , this . name , msg ) ;
102102} ;
103103
104104Component . prototype . debug = function ( instance , msg ) {
105- if ( t . debugger )
105+ if ( t . logger )
106106 console . log ( 'DEBUG' , this . name + ':' , msg ) ;
107107} ;
108108
109109Component . prototype . dashboard = function ( instance , msg ) {
110- if ( t . debugger )
110+ if ( t . logger )
111111 console . log ( 'DASHBOARD' , this . name + ':' , msg ) ;
112112} ;
113113
114114Component . prototype . throw = function ( instance , err ) {
115- if ( t . debugger )
115+ if ( t . logger )
116116 console . log ( 'ERROR' , this . name + ':' , err ) ;
117117} ;
118118
You can’t perform that action at this time.
0 commit comments