mirror of
https://github.com/go-micro/go-micro.git
synced 2025-01-05 10:20:53 +02:00
20 lines
282 B
Go
20 lines
282 B
Go
|
package logger
|
||
|
|
||
|
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
|
||
|
}
|