You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
345 B
13 lines
345 B
<?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]));
|
|
}
|
|
|
|
}
|
|
|