module Asciidoctor::LoggerManager

Attributes

logger_class[RW]

Public Class Methods

logger(pipe = $stderr) click to toggle source

NOTE subsequent calls to logger access the logger via the logger property directly

# File lib/asciidoctor/logging.rb, line 87
def logger pipe = $stderr
  memoize_logger
  @logger ||= (@logger_class.new pipe)
end
Also aliased as: logger
logger=(new_logger) click to toggle source

Returns the specified Logger

# File lib/asciidoctor/logging.rb, line 93
def logger= new_logger
  @logger = new_logger || (@logger_class.new $stderr)
end