Module: Fluent::Plugin::PluginId

Defined in:
lib/fluent/plugin/tdms_ext_fluentd.rb

Overview

Tag related extension for plugin identify

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#tag_pathObject

Returns the value of attribute tag_path.



90
91
92
# File 'lib/fluent/plugin/tdms_ext_fluentd.rb', line 90

def tag_path
  @tag_path
end

Instance Method Details

#id_or_tag_pathObject



92
93
94
# File 'lib/fluent/plugin/tdms_ext_fluentd.rb', line 92

def id_or_tag_path
  @id ? @id : @tag_path ? @tag_path : "object:#{object_id.to_s(16)}"
end