lib/tanga_services/logger.rb in tanga_services-0.0.3 vs lib/tanga_services/logger.rb in tanga_services-0.0.4
- old
+ new
@@ -11,9 +11,13 @@
class Logger < Syslog::Logger
def self.application_name=(application_name)
@logger ||= Syslog::Logger.new(application_name, Syslog::LOG_LOCAL7)
end
+ def self.logger
+ @logger
+ end
+
def self.debug(hash)
log(:debug, hash)
end
def self.info(hash)