Class Heroku::Command::Logs
In: lib/heroku/command/logs.rb
Parent: BaseWithApp

display logs for an app

Methods

Constants

COLORS = %w( cyan yellow green magenta red )

Public Instance methods

logs:cron

DEPRECATED: display cron logs from legacy logging

logs:drains

manage syslog drains

logs:drains add URL # add a syslog drain logs:drains remove URL # remove a syslog drain logs:drains clear # remove all syslog drains

logs

display recent log output

-n, —num NUM # the number of lines to display -p, —ps PS # only display logs from the given process -s, —source SOURCE # only display logs from the given source -t, —tail # continually stream logs

Protected Instance methods

[Validate]