This commit is contained in:
2022-03-10 12:34:30 -05:00
parent 81f0c4c233
commit 346073b544
101 changed files with 12902 additions and 0 deletions
@@ -0,0 +1,50 @@
<?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);
}
}