* @link http://www.oxidmodule.com */ namespace D3\ModCfg\Application\Model\Log; use Psr\Log\LoggerInterface; use Psr\Log\LoggerTrait; class d3NullLogger implements d3LogInterface, LoggerInterface { use LoggerTrait; /** * @param string $sModId * * @return d3LogInterface */ public function setModId($sModId) { return $this; } /** * @param string $sProfileId * * @return d3LogInterface */ public function setProfileId($sProfileId) { return $this; } /** * @param int $iLogType1 * @param int|null $iLogType2 * @param int|null $iLogType3 * * @return d3LogInterface */ public function setLogType($iLogType1, $iLogType2 = null, $iLogType3 = null) { return $this; } /** * @param $sStatus * @param false $oSet * @return false */ public function getLogStatus($sStatus, $oSet = false) { unset($sStatus); unset($oSet); return false; } /** * @param int $iLogType * @param string $sClass * @param string $sFnc * @param int $iLine * @param string|null $sAction * @param string|null $mText * @param bool $blDie * * @return d3LogInterface */ public function log( $iLogType = d3LogLevel::EMERGENCY, $sClass = self::class, $sFnc = __FUNCTION__, $iLine = __LINE__, $sAction = null, $mText = null, $blDie = false ) { return $this; } /** * @param string $sClass * @param string $sFnc * @param int $iLine * @param string|null $sAction * @param string|null $mText * @param bool $blDie * * @return d3LogInterface */ public function emergency($sClass = self::class, $sFnc = __FUNCTION__, $iLine = __LINE__, $sAction = null, $mText = null, $blDie = false) { return $this; } /** * @param string $sClass * @param string $sFnc * @param int $iLine * @param string|null $sAction * @param string|null $mText * @param bool $blDie * * @return d3LogInterface */ public function alert($sClass = self::class, $sFnc = __FUNCTION__, $iLine = __LINE__, $sAction = null, $mText = null, $blDie = false) { return $this; } /** * @param string $sClass * @param string $sFnc * @param int $iLine * @param string|null $sAction * @param string|null $mText * @param bool $blDie * * @return d3LogInterface */ public function critical($sClass = self::class, $sFnc = __FUNCTION__, $iLine = __LINE__, $sAction = null, $mText = null, $blDie = false) { return $this; } /** * @param string $sClass * @param string $sFnc * @param int $iLine * @param string|null $sAction * @param string|null $mText * @param bool $blDie * * @return d3LogInterface */ public function error($sClass = self::class, $sFnc = __FUNCTION__, $iLine = __LINE__, $sAction = null, $mText = null, $blDie = false) { return $this; } /** * @param string $sClass * @param string $sFnc * @param int $iLine * @param string|null $sAction * @param string|null $mText * @param bool $blDie * * @return d3LogInterface */ public function warning($sClass = self::class, $sFnc = __FUNCTION__, $iLine = __LINE__, $sAction = null, $mText = null, $blDie = false) { return $this; } /** * @param string $sClass * @param string $sFnc * @param int $iLine * @param string|null $sAction * @param string|null $mText * @param bool $blDie * * @return d3LogInterface */ public function notice($sClass = self::class, $sFnc = __FUNCTION__, $iLine = __LINE__, $sAction = null, $mText = null, $blDie = false) { return $this; } /** * @param string $sClass * @param string $sFnc * @param int $iLine * @param string|null $sAction * @param string|null $mText * @param bool $blDie * * @return d3LogInterface */ public function info($sClass = self::class, $sFnc = __FUNCTION__, $iLine = __LINE__, $sAction = null, $mText = null, $blDie = false) { return $this; } /** * @param string $sClass * @param string $sFnc * @param int $iLine * @param string|null $sAction * @param string|null $mText * @param bool $blDie * * @return d3LogInterface */ public function debug($sClass = self::class, $sFnc = __FUNCTION__, $iLine = __LINE__, $sAction = null, $mText = null, $blDie = false) { return $this; } /** * @param string $sClass * @param string $sFnc * @param int $iLine * @param string|null $sAction * @param string|null $mText * @param bool $blDie * * @return d3LogInterface */ public function test($sClass = self::class, $sFnc = __FUNCTION__, $iLine = __LINE__, $sAction = null, $mText = null, $blDie = false) { return $this; } /** * @param int $iType * * @return int */ public function addLogType($iType) { return d3LogLevel::NONE; } /** * @param int $iType * * @return int */ public function removeLogType($iType) { return d3LogLevel::NONE; } public function d3GetProfiling() { } public function convertAdminLogSettings() { } }