lib/underway/api.rb in underway-1.0.0 vs lib/underway/api.rb in underway-1.0.1
- old
+ new
@@ -76,7 +76,13 @@
end
def self.verbose_logging?
!!Underway::Settings.config.verbose_logging
end
+
+ def self.log(message)
+ if verbose_logging?
+ ::Underway::Settings.config.logger.info(message)
+ end
+ end
end
end