FrontInterfaceCenter/internal/pkg/helper_log.go

11 lines
213 B
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package pkg
import (
"github.com/go-kratos/kratos/v2/log"
)
// NewLogHelper 生成*log.Helper方便其它地方引入使用
func NewLogHelper(logger log.Logger) *log.Helper {
return log.NewHelper(logger)
}