-
-
Save Juanpe/e8e582aa3fac91bf37638d4f5fed442a 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
var logger = Logger(strategy: CapitalizedStrategy()) | |
logger.log("my first strategy") // My First Strategy | |
logger = Logger(strategy: UppercaseStrategy()) | |
logger.log("my first strategy") // MY FIRST STRATEGY | |
logger = Logger(strategy: LowercaseStrategy()) | |
logger.log("my first strategy") // my first strategy | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment