micro/logger/options.go

22 lines
287 B
Go
Raw Permalink Normal View History

package logger
2020-02-07 00:39:08 +03:00
import (
"context"
)
// Option for load profiles maybe
// eg. yml
// micro:
// logger:
// name:
// dialect: zap/default/logrus
// zap:
// xxx:
// logrus:
// xxx:
type Option func(*Options)
type Options struct {
Context context.Context
}