projects
/
smartthings-infrastructure.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
"First commit!"
[smartthings-infrastructure.git]
/
Logger
/
Logger.groovy
1
//Adding a Logger class for log.debug
2
package Logger
3
4
class Logger {
5
private boolean printToConsole = true
6
7
def methodMissing(String name, args) {
8
def messsage = args[0]
9
if (printToConsole) {
10
println messsage
11
}
12
}
13
}