Module: Asciidoctor::BeautifyUri::Logging
- Defined in:
- lib/asciidoctor/beautify_uri/logging.rb
Overview
Wraps Asciidoctor's own logger so every resolved (or failed) macro gets a
single logger.debug line, gated the same way as the rest of Asciidoctor's
verbose output (its standard --log-level / -v verbosity setting), per
DESIGN-asciidoctor-beautify-uri.adoc's "Macro Syntax" logging requirement.
Class Method Summary collapse
Class Method Details
.debug(message) ⇒ Object
14 15 16 |
# File 'lib/asciidoctor/beautify_uri/logging.rb', line 14 def self.debug() logger.debug { %(asciidoctor-beautify-uri: #{}) } end |
.logger ⇒ Object
10 11 12 |
# File 'lib/asciidoctor/beautify_uri/logging.rb', line 10 def self.logger ::Asciidoctor::LoggerManager.logger end |