mirror of https://gitee.com/bigwinds/arangodb
lol httparty
This commit is contained in:
parent
454a6c998c
commit
4920420097
|
@ -201,6 +201,8 @@ class ArangoDB
|
||||||
|
|
||||||
def self.log (args)
|
def self.log (args)
|
||||||
# disable logging if requested
|
# disable logging if requested
|
||||||
|
result = args[:result]
|
||||||
|
response = result.parsed_response
|
||||||
return if not ($silent.nil? || $silent.empty? || $silent == "0")
|
return if not ($silent.nil? || $silent.empty? || $silent == "0")
|
||||||
|
|
||||||
if args.key?(:output)
|
if args.key?(:output)
|
||||||
|
|
Loading…
Reference in New Issue