Class: Tanj::Logger::Self

Inherits:
BaseLogger show all
Defined in:
lib/tanj/logger/self.rb

Instance Method Summary collapse

Constructor Details

#initializeSelf



4
5
6
# File 'lib/tanj/logger/self.rb', line 4

def initialize
  @frontend = Tanj::Frontend.new
end

Instance Method Details

#log(line) ⇒ Object



8
9
10
# File 'lib/tanj/logger/self.rb', line 8

def log(line)
  @frontend.receive line
end