Skip to content

@saflib/node


Function: addTransport()

addTransport(transport): void

For production, when the application starts, it should add any transports using this function. Then all SAF-based applications will log to winston and they'll propagate to loggers such as Loki.

Parameters

ParameterType
transportTransportStream

Returns

void