README.md in log4r_auditor-0.0.2 vs README.md in log4r_auditor-0.0.3
- old
+ new
@@ -42,19 +42,19 @@
```
## Detailed example
```ruby
-require 'log4r_auditor'
require 'soar_auditing_format'
require 'time'
require 'securerandom'
+require "log4r_auditor"
class Main
def test_sanity
@iut = Log4rAuditor::Log4rAuditor.new
- @log4r_configuration =
- { }
+ @log4r_configuration = { 'file_name' => 'logfile',
+ 'standard_stream' => 'stdout' }
@iut.configure(@log4r_configuration)
@iut.set_audit_level(:debug)
my_optional_operation_field = SoarAuditingFormatter::Formatter.optional_field_format("operation", "Http.Get")
my_optional_method_name_field = SoarAuditingFormatter::Formatter.optional_field_format("method", "#{self.class}::#{__method__}::#{__LINE__}")