Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultLevelMap is the default map that will be used if Adapter is constructed with "NewDefault" // Change as makes sense to your app. DefaultLevelMap = LevelMap{ gocb.LogMaxVerbosity: zerolog.Disabled, gocb.LogSched: zerolog.Disabled, gocb.LogTrace: zerolog.TraceLevel, gocb.LogDebug: zerolog.DebugLevel, gocb.LogInfo: zerolog.InfoLevel, gocb.LogWarn: zerolog.WarnLevel, gocb.LogError: zerolog.ErrorLevel, } )
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
Adapter implements gocb.Logger, allowing for a ZeroLog logger to be used.
func NewDefault ¶
NewDefault creates a new adapter with the default LevelMap
Click to show internal directories.
Click to hide internal directories.