class RequestLogger
A request tracker that logs the requests executed through the session, according to a set of configurable options.
Members
EventEmitter
emitter
The object instance that emits 'slow'
, 'large'
, 'normal'
and
'failure'
events.
Boolean
logErroredRequests
Determines whether it should emit ‘failure’ events for every EXECUTE, QUERY and BATCH request execution that resulted in an error
Boolean
logNormalRequests
Determines whether it should emit ‘normal’ events for every EXECUTE, QUERY and BATCH request executed successfully, useful only for debugging
Constructor
new
RequestLogger
(Object
options)
Creates a new instance of RequestLogger
.