class Bauxite::Loggers::EchoLogger

Echo logger.

This logger outputs the raw action text for every action executed.

Note that this logger does not include execution status information (i.e. action succeeded, failed or was skipped).

Public Instance Methods

log_cmd(action) { || ... } click to toggle source

Echoes the raw action text.

# File lib/bauxite/loggers/echo.rb, line 32
def log_cmd(action)
        puts action.text
        $stdout.flush
        yield
end