Sha256: a61aafc9fcb88fd0533fbd917c81dc455225b3fa061eaa3d74007907c0de769c
Contents?: true
Size: 493 Bytes
Versions: 9
Compression:
Stored size: 493 Bytes
Contents
module ReVIEW module Loggable attr_reader :logger def error(msg, location: nil) logger.error(msg, location: location) end def app_error(msg) raise ApplicationError, msg end def error!(msg, location: nil) logger.error(msg, location: location) exit 1 end def warn(msg, location: nil) logger.warn(msg, location: location) end def debug(msg, location: nil) logger.debug(msg, location: location) end end end
Version data entries
9 entries across 9 versions & 1 rubygems