* Refactor and add importer to Installer module #443 * Refactor for finances to use in import * Import groups into roles * Formatting * Formatting * Add interface in installer for import * Notes about importing * Check for installer folder * Formatting * Fix pirep->user mapping * Unused import * Formatting
This commit is contained in:
23
modules/Installer/Utils/LoggerTrait.php
Normal file
23
modules/Installer/Utils/LoggerTrait.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Installer\Utils;
|
||||
|
||||
use Illuminate\Support\Facades\Log;
|
||||
|
||||
trait LoggerTrait
|
||||
{
|
||||
protected function comment($text)
|
||||
{
|
||||
Log::info($text);
|
||||
}
|
||||
|
||||
protected function info($text)
|
||||
{
|
||||
Log::info($text);
|
||||
}
|
||||
|
||||
protected function error($text)
|
||||
{
|
||||
Log::error($text);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user