Class: Dockerspec::Builder::Logger::Debug

Inherits:
Info
  • Object
show all
Defined in:
lib/dockerspec/builder/logger/debug.rb

Overview

A Dockerspec::Builder logger to output all the provided information in its raw original form.

Instance Method Summary collapse

Methods inherited from Info

#initialize

Constructor Details

This class inherits a constructor from Dockerspec::Builder::Logger::Info

Instance Method Details

Prints the docker build chunk in raw.

Parameters:

  • chunk (Hash)

    The docker build chunk.

Returns:

  • void



39
40
41
42
43
# File 'lib/dockerspec/builder/logger/debug.rb', line 39

def print_chunk(chunk)
  chunk_json = parse_chunk(chunk)
  print_status(chunk_json.delete('status'))
  @output.puts chunk_json.inspect
end