We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 51a9b05 + 12bc487 commit f3e7ed9Copy full SHA for f3e7ed9
splunk/writer.go
@@ -1,6 +1,7 @@
1
package splunk
2
3
import (
4
+ "encoding/json"
5
"sync"
6
"time"
7
)
@@ -35,7 +36,7 @@ type Writer struct {
35
36
// Helpful if we have long flush intervals to more precisely record the time at which
37
// a message was written
38
type message struct {
- data []byte
39
+ data json.RawMessage
40
writtenAt time.Time
41
}
42
0 commit comments