class LoggingLibrary::Logger
Responsible for printing out log messages. Not intended to be used directly from user code; use the Loggable mixin (preferred) or LoggerFactory
(secondary choice) to create a logger.
Public Class Methods
new(name)
click to toggle source
# File lib/logging_library/logger.rb, line 18 def initialize(name) init(LoggingLibrary.output_device) logger.level = :info logger.progname = name logger.formatter = CustomFormatter.new end