SudoSOS Back-end API / internal/helpers / toStructuredLogEvent
Function: toStructuredLogEvent() ​
ts
function toStructuredLogEvent(event): StructuredLogEvent;Flatten a log4js event into a single record, annotated with the context of the request that produced it.
Parameters ​
| Parameter | Type | Description |
|---|---|---|
event | LoggingEvent | the log4js event to flatten. |