# loginizer/1.9.9/lib/hybridauth/Logger/Psr3LoggerWrapper.php

Loginizer, version 1.9.9. 51 lines.

- Page: https://pluginprobe.com/plugins/loginizer/1.9.9/code/lib/hybridauth/Logger/Psr3LoggerWrapper.php
- Raw: https://pluginprobe.com/plugins/loginizer/1.9.9/raw/lib/hybridauth/Logger/Psr3LoggerWrapper.php
- Modified: 2024-06-27T14:05:26+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/loginizer/1.9.9/code/lib/hybridauth/Logger/Psr3LoggerWrapper.php#L10-L20`.

```php
<?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);
    }
}

```
