Creates a new instance of the logger.
Begings recording an operation trace
(optional) transaction id to trace execution through call chain.
a name of called component
a name of the executed operation.
a trace timing object.
Clears (removes) all cached log messages.
Configures component by passing configuration parameters.
configuration parameters to be set.
Dumps (writes) the currently cached log messages.
Records an operation failure with its name, duration and error
(optional) transaction id to trace execution through call chain.
a name of called component
a name of the executed operation.
an error object associated with this trace.
execution duration in milliseconds.
Saves log messages from the cache.
a list with log messages
callback function that receives error or null for success.
Sets references to dependent components.
references to locate the component dependencies.
Records an operation trace with its name and duration
(optional) transaction id to trace execution through call chain.
a name of called component
a name of the executed operation.
execution duration in milliseconds.
Makes trace cache as updated and dumps it when timeout expires.
Writes a log message to the logger destination.
(optional) transaction id to trace execution through call chain.
a name of called component
a name of the executed operation.
an error object associated with this trace.
execution duration in milliseconds.
Generated using TypeDoc
Abstract tracer that caches recorded traces in memory and periodically dumps them. Child classes implement saving cached traces to their specified destinations.
Configuration parameters
References
*:context-info:*:*:1.0
(optional) ContextInfo to detect the context id and specify counters sourceITracer
OperationTrace