index.js
function logentriesJsonStream(pathname, query={}) {
    query = Object.assign({}, query);

    // Force query format to JSON.
    query.format = 'json';

    // Parse each array entry from raw stream and emit JSON objects.
    return pump(logentriesRawStream(pathname, query), JSONStream.parse('*'));
}
function logentriesJsonStream(pathname, query={}) {
    query = Object.assign({}, query);

    // Force query format to JSON.
    query.format = 'json';

    // Parse each array entry from raw stream and emit JSON objects.
    return pump(logentriesRawStream(pathname, query), JSONStream.parse('*'));
}
function logentriesJsonStream ( pathname , query = { } ) { query = Object . assign ( { } , query ) ; // Force query format to JSON. query . format = 'json' ; // Parse each array entry from raw stream and emit JSON objects. return pump ( logentriesRawStream ( pathname , query ) , JSONStream . parse ( '*' ) ) ; }
Query and stream logs from Logentries. This returns a readable object stream emitting log record JSON objects.
Query and stream logs from Logentries . This returns a readable object stream emitting log record JSON objects .