mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-03-01 15:21:02 +03:00
66 lines
1.1 KiB
PHP
66 lines
1.1 KiB
PHP
<?php
|
|
/**
|
|
* Zend Framework (http://framework.zend.com/)
|
|
*
|
|
* @link http://github.com/zendframework/zf2 for the canonical source repository
|
|
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
|
|
* @license http://framework.zend.com/license/new-bsd New BSD License
|
|
*/
|
|
|
|
namespace Zend\Log\Writer\ChromePhp;
|
|
|
|
use ChromePhp;
|
|
|
|
class ChromePhpBridge implements ChromePhpInterface
|
|
{
|
|
/**
|
|
* Log an error message
|
|
*
|
|
* @param string $line
|
|
*/
|
|
public function error($line)
|
|
{
|
|
ChromePhp::error($line);
|
|
}
|
|
|
|
/**
|
|
* Log a warning
|
|
*
|
|
* @param string $line
|
|
*/
|
|
public function warn($line)
|
|
{
|
|
ChromePhp::warn($line);
|
|
}
|
|
|
|
/**
|
|
* Log informational message
|
|
*
|
|
* @param string $line
|
|
*/
|
|
public function info($line)
|
|
{
|
|
ChromePhp::info($line);
|
|
}
|
|
|
|
/**
|
|
* Log a trace
|
|
*
|
|
* @param string $line
|
|
*/
|
|
public function trace($line)
|
|
{
|
|
ChromePhp::log($line);
|
|
}
|
|
|
|
/**
|
|
* Log a message
|
|
*
|
|
* @param string $line
|
|
*/
|
|
public function log($line)
|
|
{
|
|
ChromePhp::log($line);
|
|
}
|
|
}
|