Sha256: 957e443c1485dfbc59668a2fef48094786ed1eda2818df0a669ed2b8b36a62d8

Contents?: true

Size: 381 Bytes

Versions: 1

Compression:

Stored size: 381 Bytes

Contents

require 'soar_auditing_format'
require 'byebug'
require 'securerandom'

class Main
  def test_sanity
    my_optional_field = SoarAuditingFormatter::Formatter.optional_field_format("somekey", "somevalue")
    puts SoarAuditingFormatter::Formatter.format(:error,SecureRandom.hex(32),Time.now.utc.iso8601(3),"#{my_optional_field} message")
  end
end

main = Main.new
main.test_sanity

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
soar_auditing_format-0.0.3 sanity/sanity.rb