Method: FluentCommandBuilder::InstallUtil::V40::InstallUtil#log_file

Defined in:
lib/fluent_command_builder/command_builders/installutil_40.rb

#log_file(file_name = nil) {|@b| ... } ⇒ Object

Yields:

  • (@b)


44
45
46
47
48
49
# File 'lib/fluent_command_builder/command_builders/installutil_40.rb', line 44

def log_file(file_name=nil)
  @b.append ' /logFile'
  @b.append "=#{@b.format file_name}" unless file_name.nil?
  yield @b if block_given?
  self
end