Last active
December 25, 2016 09:47
-
-
Save wKoza/1892f31fc6dfa7c93f8f0792afe6b7c0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Optional } from '@angular/core'; | |
import { LoggerService } from "./logger.service"; | |
constructor(@Optional() private logger:LoggerService){ | |
if (this.logger) { | |
this.logger.debug('Dans le constructeur ...'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment