SudoSOS Back-end API / internal/helpers / toPrettyLogLine
Function: toPrettyLogLine() ​
ts
function toPrettyLogLine(event): string;Render a log4js event as a single human-readable line, keeping the request id so that the pretty format stays correlatable as well.
Parameters ​
| Parameter | Type | Description |
|---|---|---|
event | LoggingEvent | the log4js event to render. |
Returns ​
string