Module: Radiator

Extended by:
Radiator
Included in:
Radiator
Defined in:
lib/radiator.rb,
lib/radiator/api.rb,
lib/radiator/chain.rb,
lib/radiator/utils.rb,
lib/radiator/logger.rb,
lib/radiator/stream.rb,
lib/radiator/tag_api.rb,
lib/radiator/version.rb,
lib/radiator/block_api.rb,
lib/radiator/operation.rb,
lib/radiator/type/hash.rb,
lib/radiator/base_error.rb,
lib/radiator/base_error.rb,
lib/radiator/base_error.rb,
lib/radiator/base_error.rb,
lib/radiator/base_error.rb,
lib/radiator/base_error.rb,
lib/radiator/base_error.rb,
lib/radiator/follow_api.rb,
lib/radiator/ssc/stream.rb,
lib/radiator/type/array.rb,
lib/radiator/type/price.rb,
lib/radiator/transaction.rb,
lib/radiator/type/amount.rb,
lib/radiator/type/future.rb,
lib/radiator/chain_config.rb,
lib/radiator/database_api.rb,
lib/radiator/error_parser.rb,
lib/radiator/type/u_int16.rb,
lib/radiator/type/u_int32.rb,
lib/radiator/condenser_api.rb,
lib/radiator/operation_ids.rb,
lib/radiator/ssc/contracts.rb,
lib/radiator/ssc/blockchain.rb,
lib/radiator/chain_stats_api.rb,
lib/radiator/operation_types.rb,
lib/radiator/type/permission.rb,
lib/radiator/type/public_key.rb,
lib/radiator/type/serializer.rb,
lib/radiator/account_by_key_api.rb,
lib/radiator/market_history_api.rb,
lib/radiator/type/beneficiaries.rb,
lib/radiator/type/point_in_time.rb,
lib/radiator/account_history_api.rb,
lib/radiator/mixins/acts_as_voter.rb,
lib/radiator/mixins/acts_as_poster.rb,
lib/radiator/mixins/acts_as_wallet.rb,
lib/radiator/network_broadcast_api.rb,
lib/radiator/ssc/base_steem_smart_contract_rpc.rb

Defined Under Namespace

Modules: ChainConfig, Mixins, OperationIds, OperationTypes, SSC, Type, Utils Classes: AccountByKeyApi, AccountHistoryApi, Api, ApiError, BaseError, BlockApi, Chain, ChainError, ChainStatsApi, CondenserApi, DatabaseApi, ErrorParser, FollowApi, MarketHistoryApi, NetworkBroadcastApi, Operation, OperationError, Stream, StreamError, TagApi, Transaction, TransactionError, TypeError

Constant Summary collapse

VERSION =
'0.4.5'
AGENT_ID =
"radiator/#{VERSION}"

Class Method Summary collapse

Class Method Details

.loggerLogger

The logger that Radiator uses for reporting errors.

Returns:

  • (Logger)


7
8
9
10
11
# File 'lib/radiator/logger.rb', line 7

def self.logger
  @@logger ||= Logger.new(STDOUT).tap do |logger|
    logger.progname = 'radiator'
  end
end

.logger=(logger) ⇒ void

This method returns an undefined value.

Sets the logger that Radiator uses for reporting errors.

Parameters:

  • logger (Logger)

    The logger to set as Radiator’s logger.



17
18
19
# File 'lib/radiator/logger.rb', line 17

def self.logger=(logger)
  @@logger = logger
end