You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
aserto-node publishes log events using the Node.js [Event emitter](https://nodejs.org/en/learn/asynchronous-work/the-nodejs-event-emitter#the-nodejs-event-emitter).
823
+
The events for each log level are defined as:
824
+
```ts
825
+
exportenumLOG_EVENT {
826
+
DEBUG="aserto-node-debug",
827
+
ERROR="aserto-node-error",
828
+
INFO="aserto-node-info",
829
+
TRACE="aserto-node-trace",
830
+
WARN="aserto-node-warn",
831
+
}
832
+
```
833
+
Consumers can register a function when any of these events are triggered and handle the logging.
0 commit comments