2020-05-01 05:47:46 +00:00
|
|
|
package admin
|
2017-03-13 21:46:11 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"log"
|
|
|
|
"os"
|
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
|
|
|
loginfo *log.Logger
|
|
|
|
logdebug *log.Logger
|
|
|
|
logFlags = log.Ldate | log.Lmicroseconds | log.Lshortfile
|
|
|
|
transactionID int64
|
|
|
|
)
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
loginfo = log.New(os.Stdout, "INFO: envelope: ", logFlags)
|
|
|
|
logdebug = log.New(os.Stdout, "DEBUG: envelope:", logFlags)
|
|
|
|
transactionID = 1
|
|
|
|
}
|