Sha256: 87f10f47fcda2f201f8980d1c252030a96dec7fe23f6e4fc40cbbc376c2ffb0d
Contents?: true
Size: 352 Bytes
Versions: 7
Compression:
Stored size: 352 Bytes
Contents
module Soaspec require 'logger' # Handles logs of API requests and responses class SpecLogger def self.create @logger = Logger.new('logs/traffic.log') # Where request and responses of APIs are stored @logger.level = Logger::DEBUG @logger end def self.add_to(message) @logger.info(message) end end end
Version data entries
7 entries across 7 versions & 1 rubygems