Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoggerFor ¶
func LoggerFor(prefix string, config ...zap.Config) *zap.SugaredLogger
LoggerFor creates a new zap logger with the specified name.
func RegisterHook ¶
func RegisterHook(h Hook)
RegisterHook registers the given Hook for listening to log events.
Types ¶
Click to show internal directories.
Click to hide internal directories.