lib/rocket_job/subscribers/logger.rb in rocketjob-5.1.1 vs lib/rocket_job/subscribers/logger.rb in rocketjob-5.2.0.beta1

- old
+ new

@@ -1,17 +1,17 @@ -require 'socket' +require "socket" module RocketJob module Subscribers class Logger include RocketJob::Subscriber def self.host_name @host_name ||= Socket.gethostname end - def self.host_name=(host_name) - @host_name = host_name + class << self + attr_writer :host_name end # Change the log level # # Examples: