Package com.heroku.api.request.log

Examples of com.heroku.api.request.log.Log


     * Get logs for an app.
     * @param appName App name. See {@link #listApps} for a list of apps that can be used.
     * @return
     */
    public LogStreamResponse getLogs(String appName) {
        return connection.execute(new Log(appName), apiKey);
    }
View Full Code Here


     * Get logs for an app by specifying additional parameters.
     * @param logRequest See {@link LogRequestBuilder}
     * @return
     */
    public LogStreamResponse getLogs(Log.LogRequestBuilder logRequest) {
        return connection.execute(new Log(logRequest), apiKey);
    }
View Full Code Here

    @DataProvider
    public Object[][] logParameters() {
        final String appName = getApp().getName();
        return new Object[][]{
                {new Log(appName)},
                {new Log(appName, true)},
                {Log.logFor(appName).tail(false).num(1).getRequest()}
        };
    }
View Full Code Here

TOP

Related Classes of com.heroku.api.request.log.Log

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.