class Fluent::Counter::Store
def initialize(opt = {})
def initialize(opt = {}) @log = opt[:log] || $log # Notice: This storage is not be implemented auto save. @storage = Plugin.new_storage('local', parent: DummyParent.new(@log)) conf = if opt[:path] {'persistent' => true, 'path' => opt[:path] } else {'persistent' => false } end @storage.configure(Fluent::Config::Element.new('storage', {}, conf, [])) end