Sha256: 13cf2d07fa45291d01bdfa09a16217666b3e813fdb766baf5029aecec2885d97

Contents?: true

Size: 226 Bytes

Versions: 1

Compression:

Stored size: 226 Bytes

Contents

require 'structured_log'

attributes = {:a => 0, :b => 1}
StructuredLog.open('attributes.xml') do |log|
  log.section('with_attributes', attributes) do
    log.comment('This section has attributes a and b.')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
structured_log-0.9.0 readme_files/scripts/attributes.rb