Class: Palmade::Tapsilog::Adapters::BaseAdapter

Inherits:
Object
  • Object
show all
Defined in:
lib/palmade/tapsilog/adapters/base_adapter.rb

Direct Known Subclasses

FileAdapter, MongoAdapter, ProxyAdapter

Instance Method Summary collapse

Constructor Details

#initialize(config) ⇒ BaseAdapter

Returns a new instance of BaseAdapter.



4
5
6
7
# File 'lib/palmade/tapsilog/adapters/base_adapter.rb', line 4

def initialize(config)
  @config = config
  initialize_services
end

Instance Method Details

#closeObject



15
16
# File 'lib/palmade/tapsilog/adapters/base_adapter.rb', line 15

def close
end

#flushObject



12
13
# File 'lib/palmade/tapsilog/adapters/base_adapter.rb', line 12

def flush
end

#write(log_message) ⇒ Object



9
10
# File 'lib/palmade/tapsilog/adapters/base_adapter.rb', line 9

def write(log_message)
end