Comments (6)
i'll get on it!
from rapuncel.
hey @evaneykelen
i just pushed 0.0.6.RC2 with logging features. (details here and on rubygems )
just use gem "rapuncel", "~> 0.0.6.RC1"
in your Gemfile
i've tried to make it as thin as possible:
- it will only be enabled if you use the
:logger
option for Client.new, you can't enable logging on an existing client. - Use
Client.new :logger => true
to log to STDOUT - Use
Client.new :logger => :stderr
to log to STDERR - Use
Client.new :logger => my_io_stream
to log to any IO stream (i.e. an open file stream) - Use
Client.new :logger => Logger.new(...)
for your own Logger(-compatible) instance - Use
Client.new :log_level => Logger::DEBUG
to set the log-level, note that this has no effect unless you set the:logger
option
Log-Levels:
- error: If raise_on_fault or raise_on_error is set to
true
, the respective event will be logged - warn: Logs un-raised Faults and Errors
- info: Logs RPC method calls (method name and number of arguments)
- debug: Logs RPC method calls (name and inspected arguments), Logs XML Requests and Responses (this is quite verbose!)
hope this helps! if there are any problems or questions, please report!
from rapuncel.
hi evan, i don't know if you've noticed, but i had a bug in RC2 (happened on XML-RPC faults), i released RC3. i'm testing it extensively in our production environment.
from rapuncel.
Hi Cice,
I've not been able to test this yet due to being very busy, I'll give it a whirl now!
Thx
from rapuncel.
ok thanks alot! if you have any suggestions or issues, please report back.
from rapuncel.
I've tried it and it's awesome, thanks this is a great debugging tool!
from rapuncel.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rapuncel.