Module: Fluent::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.



83
84
85
# File 'lib/fluent/plugin/tdms_ext_fluentd.rb', line 83

def tag_path
  @tag_path
end

Instance Method Details

#id_or_tag_pathObject



85
86
87
# File 'lib/fluent/plugin/tdms_ext_fluentd.rb', line 85

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