mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Add messages for all levels.
This commit is contained in:
parent
892f262261
commit
83754960a6
@ -82,6 +82,14 @@ class HomeController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function displayError()
|
public function displayError()
|
||||||
{
|
{
|
||||||
|
Log::debug('This is a test message at the DEBUG level.');
|
||||||
|
Log::info('This is a test message at the INFO level.');
|
||||||
|
Log::notice('This is a test message at the NOTICE level.');
|
||||||
|
Log::warning('This is a test message at the WARNING level.');
|
||||||
|
Log::error('This is a test message at the ERROR level.');
|
||||||
|
Log::critical('This is a test message at the CRITICAL level.');
|
||||||
|
Log::alert('This is a test message at the ALERT level.');
|
||||||
|
Log::emergency('This is a test message at the EMERGENCY level.');
|
||||||
throw new FireflyException('A very simple test error.');
|
throw new FireflyException('A very simple test error.');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user