aboutsummaryrefslogtreecommitdiffstats
path: root/lib/format
diff options
context:
space:
mode:
Diffstat (limited to 'lib/format')
-rw-r--r--lib/format/format.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/format/format.go b/lib/format/format.go
index 0cb96934..b66a1802 100644
--- a/lib/format/format.go
+++ b/lib/format/format.go
@@ -138,6 +138,10 @@ func ParseMessageFormat(
retval = append(retval, 's')
args = append(args, val)
+ case 'g':
+ retval = append(retval, 's')
+ args = append(args, strings.Join(msg.Labels, ", "))
+
case 'i':
retval = append(retval, 's')
args = append(args, msg.Envelope.MessageId)