Categorygithub.com/spiral/roadrunner-plugins/logger
modulepackage
1.0.3
Repository: https://github.com/spiral/roadrunner-plugins.git
Documentation: pkg.go.dev

# Functions

ColoredHashedNameEncoder colorizes service names and assigns different colors to different names.
ColoredLevelEncoder colorizes log levels.
ColoredNameEncoder colorizes service names.
Create NewZapAdapter which uses general log interface.
UTCTimeEncoder encodes time into short UTC specific timestamp.

# Constants

PluginName declares plugin name.

# Structs

ChannelConfig configures loggers per channel.
No description provided by the author
No description provided by the author
ZapLogger manages zap logger.

# Interfaces

No description provided by the author
With creates a child logger and adds structured context to it.