File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -115,12 +115,12 @@ function listen(port) {
115115 + ' on: ' . yellow
116116 + ( protocol + '//' + host + ':' + port ) . cyan ) ;
117117
118- log ( '\nAvailable on:' . yellow ) ;
118+ logger . info ( '\nAvailable on:' . yellow ) ;
119119
120120 Object . keys ( ifaces ) . forEach ( function ( dev ) {
121121 ifaces [ dev ] . forEach ( function ( details ) {
122122 if ( details . family === 'IPv4' ) {
123- log ( ( ' http://' + details . address + ':' + port . toString ( ) ) . green ) ;
123+ logger . info ( ( ' http://' + details . address + ':' + port . toString ( ) ) . green ) ;
124124 }
125125 } ) ;
126126 } ) ;
@@ -154,6 +154,6 @@ process.on('SIGINT', function () {
154154} ) ;
155155
156156process . on ( 'SIGTERM' , function ( ) {
157- log ( 'http-server stopped.' . red ) ;
157+ logger . info ( 'http-server stopped.' . red ) ;
158158 process . exit ( ) ;
159159} ) ;
You can’t perform that action at this time.
0 commit comments