Module: Applitools::EyesLogger

Extended by:
EyesLogger, Forwardable
Included in:
EyesLogger
Defined in:
lib/applitools/eyes_logger.rb

Defined Under Namespace

Classes: NullLogger

Constant Summary collapse

MANDATORY_METHODS =
[:debug, :info, :close].freeze
OPTIONAL_METHODS =
[:warn, :error, :fatal].freeze

Instance Method Summary collapse

Instance Method Details

#log_handler=(log_handler) ⇒ Object



23
24
25
26
27
# File 'lib/applitools/eyes_logger.rb', line 23

def log_handler=(log_handler)
  raise Applitools::EyesError.new('log_handler must implement Logger!') unless valid?(log_handler)

  @log_handler = log_handler
end