22 lines
287 B
Go
22 lines
287 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
|
|
}
|