module Asciidoctor::Logging

Private Class Methods

included(into) click to toggle source

Private: Mixes the {Logging} module as static methods into any class that includes the {Logging} module.

into - The Class that includes the {Logging} module

Returns nothing

# File lib/asciidoctor/logging.rb, line 116
def self.included into
  into.extend Logging
end

Public Instance Methods

logger() click to toggle source
# File lib/asciidoctor/logging.rb, line 121
def logger
  LoggerManager.logger
end
message_with_context(text, context = {}) click to toggle source
# File lib/asciidoctor/logging.rb, line 125
def message_with_context text, context = {}
  ({ text: text }.merge context).extend Logger::AutoFormattingMessage
end