first commit
This commit is contained in:
11
service/logger/logger.go
Normal file
11
service/logger/logger.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package logger
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
func Logger(c context.Context) *logrus.Entry {
|
||||
return logrus.WithContext(c)
|
||||
}
|
Reference in New Issue
Block a user