Module: LogStruct::Concerns::Logging::ClassMethods
Instance Method Summary collapse
- #debug(log) ⇒ Object
- #error(log) ⇒ Object
- #fatal(log) ⇒ Object
- #info(log) ⇒ Object
- #warn(log) ⇒ Object
Instance Method Details
#debug(log) ⇒ Object
15 16 17 |
# File 'lib/log_struct/concerns/logging.rb', line 15 def debug(log) Rails.logger.debug(log) end |
#error(log) ⇒ Object
33 34 35 |
# File 'lib/log_struct/concerns/logging.rb', line 33 def error(log) Rails.logger.error(log) end |
#fatal(log) ⇒ Object
39 40 41 |
# File 'lib/log_struct/concerns/logging.rb', line 39 def fatal(log) Rails.logger.fatal(log) end |
#info(log) ⇒ Object
21 22 23 |
# File 'lib/log_struct/concerns/logging.rb', line 21 def info(log) Rails.logger.info(log) end |
#warn(log) ⇒ Object
27 28 29 |
# File 'lib/log_struct/concerns/logging.rb', line 27 def warn(log) Rails.logger.warn(log) end |