Class: Sq::Dbsync::Loggers::Abstract

Inherits:
Object
  • Object
show all
Defined in:
lib/sq/dbsync/loggers.rb

Overview

Abstract base class for loggers. This is useful because the CompositeLogger needs to delegate to a set of loggers, which requires an explicit interface to communicate with. This class helps define that relationship and describe the interfaces.

Direct Known Subclasses

Composite, Graphite, Null, NullWithCallbacks, Stream

Instance Method Summary collapse

Instance Method Details

#log(str) ⇒ Object



16
# File 'lib/sq/dbsync/loggers.rb', line 16

def log(str); end

#measure(label, &block) ⇒ Object



15
# File 'lib/sq/dbsync/loggers.rb', line 15

def measure(label, &block); end