Documentation ¶
Index ¶
- Constants
- func ConfigureDefaultContextLogger(forcePlainText bool, zapConfig zap.Config) *zap.Logger
- func ConfigureDefaultContextLoggerCustomConfig(config zap.Config) *zap.Logger
- func ConfigureRootLogger(ctx context.Context, serviceName string, zapConfig zap.Config) (*zap.Logger, error)
- func ConfigureRootLoggerWithConfig(serviceName string, zapConfig zap.Config, config Config) (*zap.Logger, error)
- type Config
Constants ¶
View Source
const ( MdcServiceName = "ServiceName" MdcSchedulerName = "SchedulerName" )
View Source
const (
ReceiveRequest = "Receive request: %++v"
)
Variables ¶
This section is empty.
Functions ¶
func ConfigureRootLogger ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.