formatter: drop internalFormatter

This commit is contained in:
Simon Eskildsen
2014-07-26 22:22:39 -04:00
parent cfddc66325
commit 2c0db7c868
3 changed files with 3 additions and 9 deletions
+1 -2
View File
@@ -6,11 +6,10 @@ import (
)
type JSONFormatter struct {
*internalFormatter
}
func (f *JSONFormatter) Format(entry *Entry) ([]byte, error) {
f.prefixFieldClashes(entry)
prefixFieldClashes(entry)
serialized, err := json.Marshal(entry.Data)
if err != nil {