initial commit

This commit is contained in:
2021-07-10 16:25:16 +02:00
parent bff57cbf45
commit 20fb7267a8
2426 changed files with 792090 additions and 0 deletions
+49
View File
@@ -0,0 +1,49 @@
<?php
include MYROOTPATH."application/third_party/ChromePhp.php";
class Chromelogger {
private $enabled;
public function __construct()
{
}
public function setEnabled($status)
{
$this->enabled = $status;
}
public function log()
{
if( $this->enabled === FALSE ) return;
$args = func_get_args();
ChromePhp::log($args);
}
public function warn()
{
if( $this->enabled === FALSE ) return;
$args = func_get_args();
ChromePhp::warn($args);
}
public function error()
{
if( $this->enabled === FALSE ) return;
$args = func_get_args();
ChromePhp::error($args);
}
}