First Local Commit - After Clean up.
Signed-off-by: Rick Hays <rhays@haysgang.com>
This commit is contained in:
13
system/Log/Exceptions/LogException.php
Normal file
13
system/Log/Exceptions/LogException.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?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]));
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user