Newer
Older
framework / system / Log / Exceptions / LogException.php
@Jim Parry Jim Parry on 1 Dec 2018 345 bytes Release 4.0.0-alpha.3
<?php namespace CodeIgniter\Log\Exceptions;

use CodeIgniter\Exceptions\ExceptionInterface;
use CodeIgniter\Exceptions\FrameworkException;

class LogException extends FrameworkException implements ExceptionInterface
{
	public static function forInvalidLogLevel(string $level)
	{
		return new static(lang('Log.invalidLogLevel', [$level]));
	}

}