Add new activity logging code to replace audit log
This commit is contained in:
parent
c14c7b436e
commit
5bb66a00d8
11 changed files with 534 additions and 0 deletions
20
app/Facades/LogBatch.php
Normal file
20
app/Facades/LogBatch.php
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
namespace Pterodactyl\Facades;
|
||||
|
||||
use Illuminate\Support\Facades\Facade;
|
||||
use Pterodactyl\Services\Activity\AcitvityLogBatchService;
|
||||
|
||||
/**
|
||||
* @method static ?string uuid()
|
||||
* @method static void start()
|
||||
* @method static void end()
|
||||
* @method static mixed transaction(\Closure $callback)
|
||||
*/
|
||||
class LogBatch extends Facade
|
||||
{
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return AcitvityLogBatchService::class;
|
||||
}
|
||||
}
|
Reference in a new issue