lib/asciidoctor/load.rb in asciidoctor-2.0.12 vs lib/asciidoctor/load.rb in asciidoctor-2.0.13

- old
+ new

@@ -18,11 +18,11 @@ if (timings = options[:timings]) timings.start :read end - if (logger = options[:logger]) && logger != LoggerManager.logger - LoggerManager.logger = logger + if (options.key? :logger) && (logger = options[:logger]) != LoggerManager.logger + LoggerManager.logger = logger || NullLogger.new end if !(attrs = options[:attributes]) attrs = {} elsif ::Hash === attrs