Last active
May 21, 2017 20:21
-
-
Save mrister/7e5f8e51982f025dadd3d8106a363f3a to your computer and use it in GitHub Desktop.
Using the development logger
This file contains hidden or 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
// log is also a previously defined variable (logger) and we use shorthand syntax in constructor to | |
const devLogger = new DevelopmentLogger({ log }); | |
devLogger.logIt("Problem with MySQL server."); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment