-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
Hello,
just watch your video and have a question:
why we cant use constructor for change logger services:
Example:
class Message {
protected Logger: Logger
constructor (){
this.Logger = new LoggerLog()
}
get logger (){
return this.Logger
}
}
class MessageCustom extends Message{
constructor (){
super();
this.Logger = new LoggerSlung();
}
}
Metadata
Metadata
Assignees
Labels
No labels