1package log 2 3type Fields map[string]interface{} 4 5func (f Fields) ToMap() map[string]interface{} { 6 return map[string]interface{}(f) 7}