2017-02-12 04:13:29 +00:00
|
|
|
package packer
|
|
|
|
|
2017-03-22 18:30:56 +00:00
|
|
|
import (
|
|
|
|
"log"
|
|
|
|
"os"
|
|
|
|
)
|
2017-02-12 04:13:29 +00:00
|
|
|
|
2017-03-02 03:02:20 +00:00
|
|
|
var (
|
|
|
|
loginfo *log.Logger
|
|
|
|
logdebug *log.Logger
|
|
|
|
logFlags = log.Ldate | log.Lmicroseconds | log.Lshortfile
|
|
|
|
)
|
2017-02-12 04:13:29 +00:00
|
|
|
|
2017-03-02 03:02:20 +00:00
|
|
|
func init() {
|
|
|
|
loginfo = log.New(os.Stdout, "INFO: packer: ", logFlags)
|
|
|
|
logdebug = log.New(os.Stdout, "DEBUG: packer:", logFlags)
|
2017-02-12 04:13:29 +00:00
|
|
|
}
|