Module: Fluent::PluginId

Defined in:
lib/fluent/plugin/fms_fluentd_ext.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.



80
81
82
# File 'lib/fluent/plugin/fms_fluentd_ext.rb', line 80

def tag_path
  @tag_path
end

Instance Method Details

#id_or_tag_pathObject



82
83
84
# File 'lib/fluent/plugin/fms_fluentd_ext.rb', line 82

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