Module: IORequest
- Defined in:
- lib/io_request.rb,
lib/io_request/client.rb,
lib/io_request/logging.rb,
lib/io_request/message.rb,
lib/io_request/version.rb,
lib/io_request/authorizer.rb,
lib/io_request/utility/with_id.rb,
lib/io_request/utility/multi_thread.rb,
lib/io_request/connection/ssl_sockets.rb,
lib/io_request/utility/with_prog_name.rb
Overview
Main module.
Defined Under Namespace
Modules: SSLSockets, Utility Classes: AuthorizationFailureError, Authorizer, Client, Message, RequestTimeoutError, ZeroSizeMessageError
Constant Summary collapse
- VERSION =
Gem version.
'2.5.1'
Class Method Summary collapse
Class Method Details
.logger ⇒ Logger
7 8 9 10 11 12 13 14 |
# File 'lib/io_request/logging.rb', line 7 def self.logger @@logger ||= Logger.new( # rubocop:disable Style/ClassVars STDOUT, formatter: proc do |severity, datetime, progname, msg| "[#{datetime}] #{severity} - #{progname}:\t #{msg}\n" end ) end |
.logger=(new_logger) ⇒ Object
17 18 19 |
# File 'lib/io_request/logging.rb', line 17 def self.logger=(new_logger) @@logger = new_logger # rubocop:disable Style/ClassVars end |