20 lines
347 B
Go
20 lines
347 B
Go
package envelope
|
|
|
|
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
|
|
}
|