class Makara::Logging::Logger

Public Class Methods

log(msg, format = :error) click to toggle source
# File lib/makara/logging/logger.rb, line 5
def log(msg, format = :error)
  logger.send(format, "[Makara] #{msg}") if logger
end
logger() click to toggle source
# File lib/makara/logging/logger.rb, line 9
def logger
  @logger
end
logger=(l) click to toggle source
# File lib/makara/logging/logger.rb, line 13
def logger=(l)
  @logger = l
end