12 lines
149 B
Go
12 lines
149 B
Go
package db
|
|
|
|
import (
|
|
"github.com/sirupsen/logrus"
|
|
)
|
|
|
|
var log *logrus.Entry
|
|
|
|
func init() {
|
|
log = logrus.WithFields(logrus.Fields{"prefix": "db"})
|
|
}
|