-
-
Save net/b2ba645d05899d25f7aa 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
DEBUG = false | |
# this | |
Log.debug "a debug message with some variables #{x} #{y}" | |
# or | |
Log.debug "a debug message with some variables #{x} #{y}" if DEBUG | |
# asume the Log.debug method already checks if DEBUG is true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment