Class: Sequel::SchemaSharding::LoggerProxy
- Inherits:
-
Logger
- Object
- Logger
- Sequel::SchemaSharding::LoggerProxy
- Defined in:
- lib/sequel/schema-sharding/logger_proxy.rb
Instance Method Summary collapse
- #add(severity, message = nil, progname = nil, &block) ⇒ Object
-
#initialize ⇒ LoggerProxy
constructor
A new instance of LoggerProxy.
Constructor Details
#initialize ⇒ LoggerProxy
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, = nil, progname = nil, &block) Sequel::SchemaSharding.logger.add(severity, , progname, &block) end |