class SkinnyControllers::Logging::Logger
Attributes
_logger[RW]
_tag[RW]
Public Class Methods
new()
click to toggle source
# File lib/skinny_controllers/logging.rb, line 13 def initialize @_logger = ActiveSupport::TaggedLogging.new(ActiveSupport::Logger.new(STDOUT)) @_tag = 'skinny_controllers' end
Public Instance Methods
info(*args)
click to toggle source
# File lib/skinny_controllers/logging.rb, line 22 def info(*args) _logger.tagged(_tag) { _logger.info(*args) } end
warn(*args)
click to toggle source
# File lib/skinny_controllers/logging.rb, line 18 def warn(*args) _logger.tagged(_tag) { _logger.warn(*args) } end