Skip to content

Commit 936d43e

Browse files
committed
SCFF-21 added the 'Message' to the log map
1 parent 761dfdd commit 936d43e

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

sumo-log4go/sumoLogicAppender.go

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,8 @@ func newSumoLogicAppender(urlValue string, connectionTimeoutValue int) *SumoLogi
2121
}
2222
}
2323

24-
func (boolean) isInitialized() {
25-
return httpClient != nil
26-
}
27-
28-
func append(Event map[string]interface{}, Message string) {
29-
if !checkEntryConditions() {
30-
return
31-
}
24+
func (s *SumoLogicAppender) append(Event map[string]interface{}, Message string) {
25+
Event["msg"] = Message
3226
var buffer bytes.Buffer
3327
buffer.WriteString(event)
3428
reader := bufio.NewReader(resp.Body)

0 commit comments

Comments
 (0)