@@ -183,20 +183,20 @@ export class Reloader {
183183 } ) ;
184184 }
185185
186- this . logger . trace ( `found ${ links . length } LINKed stylesheets, ${ imported . length } @imported stylesheets` ) ;
186+ this . logger . debug ( `found ${ links . length } LINKed stylesheets, ${ imported . length } @imported stylesheets` ) ;
187187 const match = pickBestMatch ( path , links . concat ( imported ) , l => pathFromUrl ( this . linkHref ( l ) ) ) ;
188188
189189
190190 if ( match ) {
191191 if ( match . object && match . object . rule ) {
192- this . logger . trace ( `reloading imported stylesheet: ${ match . object . href } ` ) ;
192+ this . logger . info ( `reloading imported stylesheet: ${ match . object . href } ` ) ;
193193 this . reattachImportedRule ( match . object ) ;
194194 } else {
195- this . logger . trace ( `reloading stylesheet: ${ this . linkHref ( match . object ) } ` ) ;
195+ this . logger . info ( `reloading stylesheet: ${ this . linkHref ( match . object ) } ` ) ;
196196 this . reattachStylesheetLink ( match . object ) ;
197197 }
198198 } else {
199- this . logger . trace ( `reloading all stylesheets because path '${ path } ' did not match any specific one` ) ;
199+ this . logger . info ( `reloading all stylesheets because path '${ path } ' did not match any specific one` ) ;
200200 links . forEach ( link => this . reattachStylesheetLink ( link ) ) ;
201201 }
202202 return true ;
@@ -242,7 +242,7 @@ export class Reloader {
242242 // http://www.zachleat.com/web/load-css-dynamically/
243243 // http://pieisgood.org/test/script-link-events/
244244 clone . onload = ( ) => {
245- this . logger . trace ( "the new stylesheet has finished loading" ) ;
245+ this . logger . debug ( "the new stylesheet has finished loading" ) ;
246246 this . knownToSupportCssOnLoad = true ;
247247 return executeCallback ( ) ;
248248 } ;
@@ -252,7 +252,7 @@ export class Reloader {
252252 let poll ;
253253 ( poll = ( ) => {
254254 if ( clone . sheet ) {
255- this . logger . trace ( "polling until the new CSS finishes loading..." ) ;
255+ this . logger . debug ( "polling until the new CSS finishes loading..." ) ;
256256 return executeCallback ( ) ;
257257 } else {
258258 return this . Timer . start ( 50 , poll ) ;
@@ -376,7 +376,7 @@ export class Reloader {
376376 if ( url . indexOf ( this . options . serverURL ) < 0 ) {
377377 const originalUrl = url ;
378378 url = this . options . serverURL + this . options . overrideURL + "?url=" + encodeURIComponent ( url ) ;
379- this . logger . trace ( `overriding source URL ${ originalUrl } with ${ url } ` ) ;
379+ this . logger . debug ( `overriding source URL ${ originalUrl } with ${ url } ` ) ;
380380 }
381381 }
382382
0 commit comments