Module: UnionPay::Core::Logger
- Included in:
- HttpClient, Mobile::Client
- Defined in:
- lib/union-pay/core/logger.rb
Defined Under Namespace
Classes: NetLog
Instance Method Summary collapse
Instance Method Details
#net_log(req, resp, notice = false) ⇒ Object
6 7 8 9 10 |
# File 'lib/union-pay/core/logger.rb', line 6 def net_log(req, resp, notice=false) return unless @config.enable_log @net_log ||= Object.const_get(@config.net_log_class).new @net_log.log(req, resp, notice) end |