This commit is contained in:
Asim Aslam
2019-12-20 23:36:16 +00:00
parent 847a01df82
commit 45208992b5
2 changed files with 3 additions and 3 deletions

View File

@@ -165,8 +165,8 @@ func (k *klog) Stream() (log.Stream, error) {
return stream, nil
}
// New returns a configured Kubernetes logger
func New(opts ...log.Option) log.Log {
// NewLog returns a configured Kubernetes logger
func NewLog(opts ...log.Option) log.Log {
klog := &klog{}
for _, o := range opts {
o(&klog.Options)