fluent / fluent-logger-python

A structured logger for Fluentd (Python)
http://fluentd.org/
Other
444 stars 138 forks source link

FluentSender: fix requirement for root tag per sender instance #185

Closed vgavro closed 2 years ago

vgavro commented 2 years ago

I want some messages to be generated with different tags, but for now i'm forced to use same root (prefix) tag for no reason per sender instance. If I use FluentSender('').emit('my_tag', data) - I got ".my_tag" tag instead of "my_tag". This PR fixes this.

coveralls commented 2 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling cd59f4638d62e20ed65812a6f0310e813d5f0861 on vgavro:master into ace80f4c2bd0020fc16891440243663c612dd01e on fluent:master.

vgavro commented 2 years ago

closed to change source branch (created https://github.com/fluent/fluent-logger-python/pull/186 instead)