Documentation ¶
Index ¶
- Variables
- func ArmoryLoggerProvider(appMd metadata.ApplicationMetadata) (*zap.Logger, error)
- func AwsLoggerFromZapLogger(logger *zap.SugaredLogger, prefix *string) logging.LoggerFunc
- func NewArmoryDevConsoleEncoder(disableColor bool) zapcore.Encoder
- func StdArmoryDevLogger(level zapcore.Level) (*zap.Logger, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Provide(ArmoryLoggerProvider), fx.Provide(func(log *zap.Logger) *zap.SugaredLogger { return log.Sugar() }), fx.WithLogger(func(logger *zap.Logger) fxevent.Logger { return &fxevent.ZapLogger{Logger: logger} }), )
Functions ¶
func ArmoryLoggerProvider ¶ added in v1.5.0
func ArmoryLoggerProvider(appMd metadata.ApplicationMetadata) (*zap.Logger, error)
func AwsLoggerFromZapLogger ¶ added in v1.21.0
func AwsLoggerFromZapLogger(logger *zap.SugaredLogger, prefix *string) logging.LoggerFunc
func NewArmoryDevConsoleEncoder ¶ added in v1.15.0
NewArmoryDevConsoleEncoder encoder that produces colored human-readable output Not suitable for production use, see: zapcore.MapObjectEncoder comments.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.