log_adapter.go
func NewLogAdapterFor(base WrappableLogger, attrs *Attrs) *LogAdapter {
	if attrs == nil {
		attrs = NewAttrs()
	}

	return &LogAdapter{
		base:  base,
		attrs: attrs,
	}
}
func NewLogAdapterFor(base WrappableLogger, attrs *Attrs) *LogAdapter {
	if attrs == nil {
		attrs = NewAttrs()
	}

	return &LogAdapter{
		base:  base,
		attrs: attrs,
	}
}
// NewLogAdapterFor creates a LogAdapter that wraps the given loger with the
// given attributes.