Module: Spark::Helper::Logger::Methods

Defined in:
lib/spark/helper/logger.rb

Instance Method Summary collapse

Instance Method Details

#log_debug(message) ⇒ Object Also known as: logDebug



15
16
17
# File 'lib/spark/helper/logger.rb', line 15

def log_debug(message)
  Spark.logger.debug(message)
end

#log_error(message) ⇒ Object Also known as: logError



27
28
29
# File 'lib/spark/helper/logger.rb', line 27

def log_error(message)
  Spark.logger.error(message)
end

#log_info(message) ⇒ Object Also known as: logInfo



11
12
13
# File 'lib/spark/helper/logger.rb', line 11

def log_info(message)
  Spark.logger.info(message)
end

#log_trace(message) ⇒ Object Also known as: logTrace



19
20
21
# File 'lib/spark/helper/logger.rb', line 19

def log_trace(message)
  Spark.logger.trace(message)
end

#log_warning(message) ⇒ Object Also known as: logWarning



23
24
25
# File 'lib/spark/helper/logger.rb', line 23

def log_warning(message)
  Spark.logger.warning(message)
end