lib/skylight/util/logging.rb in skylight-0.3.0.rc.3 vs lib/skylight/util/logging.rb in skylight-0.3.0.rc.4

- old
+ new

@@ -49,12 +49,12 @@ if logger = c.logger return unless logger.respond_to?(level) if args.length > 0 - logger.send level, sprintf("[SKYLIGHT] #{msg}", *args) + logger.send level, sprintf("[SKYLIGHT] [#{Skylight::VERSION}] #{msg}", *args) else - logger.send level, "[SKYLIGHT] #{msg}" + logger.send level, "[SKYLIGHT] [#{Skylight::VERSION}] #{msg}" end end rescue Exception => e if ENV[TRACE_ENV_KEY] puts "[ERROR] #{e.message}"