Remove __CLASS__ from debug logs

This commit is contained in:
Frederic Guillot
2016-01-16 21:48:33 -05:00
parent 41e900fc7a
commit 47e4274579
8 changed files with 12 additions and 12 deletions

View File

@@ -40,7 +40,7 @@ class AuthSubscriber extends BaseSubscriber implements EventSubscriberInterface
*/
public function afterLogin(AuthSuccessEvent $event)
{
$this->logger->debug('Subscriber executed: '.__CLASS__.'::'.__METHOD__);
$this->logger->debug('Subscriber executed: '.__METHOD__);
$userAgent = $this->request->getUserAgent();
$ipAddress = $this->request->getIpAddress();
@@ -71,7 +71,7 @@ class AuthSubscriber extends BaseSubscriber implements EventSubscriberInterface
*/
public function afterLogout()
{
$this->logger->debug('Subscriber executed: '.__CLASS__.'::'.__METHOD__);
$this->logger->debug('Subscriber executed: '.__METHOD__);
$credentials = $this->rememberMeCookie->read();
if ($credentials !== false) {
@@ -92,7 +92,7 @@ class AuthSubscriber extends BaseSubscriber implements EventSubscriberInterface
*/
public function onLoginFailure(AuthFailureEvent $event)
{
$this->logger->debug('Subscriber executed: '.__CLASS__.'::'.__METHOD__);
$this->logger->debug('Subscriber executed: '.__METHOD__);
$username = $event->getUsername();
if (! empty($username)) {