view heroku logs command line code example
Example 1: heroku logs
# Display all logs live
heroku logs -t -a YOUR_APP_NAME
# Only display stdout of your app
heroku logs -t -s app -a YOUR_APP_NAME
Example 2: heroku cli delete app
$ heroku apps:destroy [YOUR-APP-HERE]