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.6
*/
namespace Quantum\Libraries\Logger\Exceptions;
use Quantum\Exceptions\BaseException;
* Class LoggerException
* @package Quantum\Logger
class LoggerException extends BaseException
{
* @param string $name
* @return LoggerException
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));
public static function adapterNotAllowed(string $name): LoggerException
return new static(t('exception.message_logger_not_in_debug_mode', $name));