mirror of https://github.com/hashicorp/packer
parent
0fad49e897
commit
77277ebc98
@ -0,0 +1,14 @@
|
||||
package classic
|
||||
|
||||
import "log"
|
||||
|
||||
type Logger struct {
|
||||
Enabled bool
|
||||
}
|
||||
|
||||
func (l *Logger) Log(input ...interface{}) {
|
||||
if !l.Enabled {
|
||||
return
|
||||
}
|
||||
log.Println(input...)
|
||||
}
|
||||
Loading…
Reference in new issue