Module: DiasporaFederation::Logging

Overview

Logging module for the diaspora* federation

It uses the logging-gem if available.

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object

Add logger also as class method when included

Parameters:

  • klass (Class)

    the class into which the module is included



10
11
12
# File 'lib/diaspora_federation/logging.rb', line 10

def self.included(klass)
  klass.extend(self)
end