README.adoc in relaton-ietf-1.18.0 vs README.adoc in relaton-ietf-1.19.0

- old
+ new

@@ -31,28 +31,17 @@ $ gem install relaton-ietf == Usage -=== Configuration +=== Fetching documents -Configuration is optional. The available option is `logger` which is a `Logger` instance. By default, the logger is `Logger.new($stderr)` with `Logger::WARN` level. To change the logger level, use `RelatonIetf.configure` block. - [source,ruby] ---- require 'relaton_ietf' => true -RelatonIetf.configure do |config| - config.logger.level = Logger::DEBUG -end ----- - -=== Fetching documents - -[source,ruby] ----- # Fetch RFC document item = RelatonIetf::IetfBibliography.get 'IETF RFC 8341' [relaton-ietf] (IETF RFC 8341) Fetching from Relaton repository ... [relaton-ietf] (IETF RFC 8341) Found: `RFC 8341` => #<RelatonIetf::IetfBibliographicItem:0x007fd1875e7f58 @@ -162,9 +151,13 @@ Started at: 2021-12-17 10:23:20 +0100 Stopped at: 2021-12-17 10:29:19 +0100 Done in: 360 sec. => nil ---- + +=== Logging + +RelatonIetf uses the relaton-logger gem for logging. By default, it logs to STDOUT. To change the log levels and add other loggers, read the https://github.com/relaton/relaton-logger#usage[relaton-logger] documentation. == Contributing Bug reports and pull requests are welcome on GitHub at https://github.com/metanorma/relaton-ietf.