• return various streams that the logger could send data to, depending on the options and env

    Parameters

    • level: string = 'warn'

    Returns TransportSingleOptions<Record<string, any>>