comments
This commit is contained in:
parent
29fcd0e34a
commit
1f83148aca
@ -56,7 +56,9 @@ func (w *LokiWriter) Write(p []byte) (n int, err error) {
|
||||
labels["level"] = level
|
||||
|
||||
// Add label that have been added to the event
|
||||
|
||||
// A bit unsafe since we don't know what could be stored in the event
|
||||
// but we can't access this object once passed to the multilevel writter
|
||||
|
||||
for k,v := range(event){
|
||||
if k != "level" && k != "time" && k != "message"{
|
||||
data := v.(map[string]string)
|
||||
|
Loading…
Reference in New Issue
Block a user