File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
config/dependency-injection Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ services:
7
7
class : ../../../../Mooc/Courses/application/CreateCourse
8
8
arguments : ["@Mooc.courses.CourseRepository"]
9
9
10
- Mooc.shared.WinstonLogger :
10
+ Mooc.shared.Logger :
11
11
class : ../../../../Mooc/Shared/infrastructure/WinstonLogger
12
12
arguments : []
13
13
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ app.use(errorHandler());
12
12
*/
13
13
const server = app . listen ( app . get ( 'port' ) , ( ) => {
14
14
// tslint:disable: no-console
15
- const winstonLogger = container . get ( 'Mooc.shared.WinstonLogger ' ) ;
15
+ const winstonLogger = container . get ( 'Mooc.shared.Logger ' ) ;
16
16
17
17
winstonLogger . info ( ` App is running at http://localhost:${ app . get ( 'port' ) } in ${ app . get ( 'env' ) } mode` ) ;
18
18
console . log ( ' Press CTRL-C to stop\n' ) ;
You can’t perform that action at this time.
0 commit comments