Closed dagda1 closed 3 years ago
@dagda1 it's a bit difficult to tell from this what the log output looks like. Can add a screenshot of output that you see?
@dagda1 it's a bit difficult to tell from this what the log output looks like. Can add a screenshot of output that you see?
Very basic but considerably better what we have now which is nothing
and this is the output from console.log
Motivation
We need more visibility as to what is going on in simulators like auth0 which are annoying to debug.
Approach
There is a basic middleware component in
@simulacrum/server
that simulators can use to log HTTP requests.It can take 1 or more logging function. I've add one logging function to auth0 that writes to the affection inspector:
It should be easy to add other loggers like
console.log
for quicker debugging.