Last active
August 29, 2015 14:07
-
-
Save spheromak/dd5610c1be7f879baf16 to your computer and use it in GitHub Desktop.
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
// +build debug | |
package chef | |
import "log" | |
func debug(fmt string, args ...interface{}) { | |
log.Printf(fmt, args...) | |
} |
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
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
// +build !debug | |
package chef | |
func debug(fmt string, args ...interface{}) {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment