Class: Footprint::Log::OutFile

Inherits:
Basic
  • Object
show all
Defined in:
lib/footprint/log/out_file.rb

Overview

Class that extends the Footprint::Log::Basic and adds a write method which logs on info level.

This Class can be used as a File instance to write in log.

Instance Method Summary collapse

Methods inherited from Basic

#initialize

Constructor Details

This class inherits a constructor from Footprint::Log::Basic

Instance Method Details

#write(message) ⇒ Object

Synopsis

write 'My dummy info log message'

Args

message

The log message. A String or Exception.

Return

true if successful, false otherwise.

Description

Logs the message on info level on logger.


32
33
34
# File 'lib/footprint/log/out_file.rb', line 32

def write(message)
  info message
end