formatters.go
func (formatter *JSONFormatter) Format(record *Record) string {
	data, _ := json.Marshal(record)
	return string(data)
}
func (formatter *JSONFormatter) Format(record *Record) string {
	data, _ := json.Marshal(record)
	return string(data)
}
// Format creates JSON struct from provided record and returns it.