Versions in this module Expand all Collapse all v3 v3.4.16 Apr 15, 2021 Changes in this version + var DefaultLogLevel = "info" + var DefaultZapLoggerConfig = zap.Config + func ConvertToCapnslogLogLevel(lvl string) capnslog.LogLevel + func ConvertToZapLevel(lvl string) zapcore.Level + func MergeOutputPaths(cfg zap.Config) zap.Config + func NewGRPCLoggerV2(lcfg zap.Config) (grpclog.LoggerV2, error) + func NewGRPCLoggerV2FromZapCore(cr zapcore.Core, syncer zapcore.WriteSyncer) grpclog.LoggerV2 + func NewJournalWriter(wr io.Writer) (io.Writer, error) — darwin/amd64, js/wasm, linux/amd64 + func NewRaftLogger(lcfg *zap.Config) (raft.Logger, error) + func NewRaftLoggerFromZapCore(cr zapcore.Core, syncer zapcore.WriteSyncer) raft.Logger + func NewRaftLoggerZap(lg *zap.Logger) raft.Logger + type Logger interface + Lvl func(lvl int) grpclog.LoggerV2 + func NewDiscardLogger() Logger + func NewLogger(g grpclog.LoggerV2) Logger + func NewPackageLogger(repo, pkg string) Logger + type MergeLogger struct + func NewMergeLogger(logger *capnslog.PackageLogger) *MergeLogger + func (l *MergeLogger) MergeError(entries ...interface{}) + func (l *MergeLogger) MergeErrorf(format string, args ...interface{}) + func (l *MergeLogger) MergeInfo(entries ...interface{}) + func (l *MergeLogger) MergeInfof(format string, args ...interface{}) + func (l *MergeLogger) MergeNotice(entries ...interface{}) + func (l *MergeLogger) MergeNoticef(format string, args ...interface{}) + func (l *MergeLogger) MergeWarning(entries ...interface{}) + func (l *MergeLogger) MergeWarningf(format string, args ...interface{}) v3.4.15-cyral.1 Apr 15, 2021 Other modules containing this package github.com/cyralinc/etcd