Sha256: d392f0c351ae0c48eaf74e0d5904e9d45d562607d4f6c5ac089146a12d522660

Contents?: true

Size: 460 Bytes

Versions: 1

Compression:

Stored size: 460 Bytes

Contents

require 'soar_configured_factory'
require 'log4r_auditor'

class Main
  def test_sanity
    configuration = {
      'log4r' => {
        'adaptor' => 'Log4rAuditor::Log4rAuditor',
        'file_name' => 'soar_sc.log',
        'standard_stream' => 'stdout',
      }
    }
    auditor_factory = SoarConfiguredFactory::ConfiguredFactory.new(configuration)
    auditor = auditor_factory.create('log4r')
    puts auditor
  end
end

main = Main.new
main.test_sanity

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
soar_configured_factory-0.1.1 sanity/sanity.rb