Class: Sequel::SchemaSharding::LoggerProxy

Inherits:
Logger
  • Object
show all
Defined in:
lib/sequel/schema-sharding/logger_proxy.rb

Instance Method Summary collapse

Constructor Details

#initializeLoggerProxy

Returns a new instance of LoggerProxy.



6
7
# File 'lib/sequel/schema-sharding/logger_proxy.rb', line 6

def initialize
end

Instance Method Details

#add(severity, message = nil, progname = nil, &block) ⇒ Object



9
10
11
# File 'lib/sequel/schema-sharding/logger_proxy.rb', line 9

def add(severity, message = nil, progname = nil, &block)
  Sequel::SchemaSharding.logger.add(severity, message, progname, &block)
end