for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Quantum PHP Framework
*
* An open source software development framework for PHP
* @package Quantum
* @author Arman Ag. <[email protected]>
* @copyright Copyright (c) 2018 Softberg LLC (https://softberg.org)
* @link http://quantum.softberg.org/
* @since 2.9.5
*/
namespace Quantum\Logger;
use Exception;
use Quantum\Exceptions\LangException;
* Class LoggerException
* @package Quantum\Logger
class LoggerException extends Exception
{
* @param string $name
* @return LoggerException
* @throws LangException
public static function unsupportedAdapter(string $name): LoggerException
return new static(t('exception.not_supported_adapter', $name));
}
public static function logPathIsNotDirectory(string $name): LoggerException
return new static(t('exception.log_path_is_not_directory', $name));
public static function logPathIsNotFile(string $name): LoggerException
return new static(t('exception.log_path_is_not_file', $name));