3 ms·
What do you mean by call/result logging? Just seeing calls with arguments and return values in some sort of log[file]. I like to see the traffic between ends w
by wruza 5y ago
What do you mean by call/result logging?
Just seeing calls with arguments and return values in some sort of log[file]. I like to see the traffic between ends while debugging. Libraries usually provide a logger callback in initial options, like this:
new Foo({
…,
log: (level, …values) => {…}
})
I think the last time I browsed Gravity manual, it had some sort of “beforeCall” event where it’s possible to log without a special callback.