File "Psr3LoggerWrapper.php"
Full Path: /home/vantageo/public_html/cache/cache/cache/cache/cache/cache/cache/.wp-cli/wp-content/plugins/loginizer/lib/hybridauth/Logger/Psr3LoggerWrapper.php
File size: 984 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
/*!
* Hybridauth
* https://hybridauth.github.io | https://github.com/hybridauth/hybridauth
* (c) 2017 Hybridauth authors | https://hybridauth.github.io/license.html
*/
namespace Hybridauth\Logger;
use Psr\Log\LoggerAwareTrait;
/**
* Wrapper for PSR3 logger.
*/
class Psr3LoggerWrapper implements LoggerInterface
{
use LoggerAwareTrait;
/**
* @inheritdoc
*/
public function info($message, array $context = [])
{
$this->logger->info($message, $context);
}
/**
* @inheritdoc
*/
public function debug($message, array $context = [])
{
$this->logger->debug($message, $context);
}
/**
* @inheritdoc
*/
public function error($message, array $context = [])
{
$this->logger->error($message, $context);
}
/**
* @inheritdoc
*/
public function log($level, $message, array $context = [])
{
$this->logger->log($level, $message, $context);
}
}