Versions in this module Expand all Collapse all v0 v0.2.0 Jul 13, 2018 v0.1.0 Apr 24, 2018 Changes in this version + func DefaultRecordToFields(r Record) []zapcore.Field + type Logger struct + func New(origin *zap.Logger, opts ...LoggerOption) *Logger + func (l *Logger) Print(values ...interface{}) + type LoggerOption func(*Logger) + func WithLevel(level zapcore.Level) LoggerOption + func WithRecordToFields(f RecordToFields) LoggerOption + type Record struct + Duration time.Duration + Message string + RowsAffected int64 + SQL string + Source string + type RecordToFields func(r Record) []zapcore.Field