diff --git a/app/providers.php b/app/providers.php index caae940..5185874 100644 --- a/app/providers.php +++ b/app/providers.php @@ -62,6 +62,7 @@ $app if(false === getenv('SPARKPOST_API_KEY')) { $app['swiftmailer.transport'] = new Swift_SendmailTransport(); + $app->log('We are local'); } else { $app['swiftmailer.options'] = [ 'host' => getenv('SPARKPOST_SMTP_HOST'), @@ -71,6 +72,7 @@ $app 'encryption' => 'tls', 'auth_mode' => 'plain', ]; + $app->log('We are on heroku.'); } $app->register(new RoutingServiceProvider())