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/Providers/ActivityLogServiceProvider.php
Normal file
20
app/Providers/ActivityLogServiceProvider.php
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
namespace Pterodactyl\Providers;
|
||||
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
use Pterodactyl\Services\Activity\AcitvityLogBatchService;
|
||||
use Pterodactyl\Services\Activity\ActivityLogTargetableService;
|
||||
|
||||
class ActivityLogServiceProvider extends ServiceProvider
|
||||
{
|
||||
/**
|
||||
* Registers the necessary activity logger singletons scoped to the individual
|
||||
* request instances.
|
||||
*/
|
||||
public function register()
|
||||
{
|
||||
$this->app->scoped(AcitvityLogBatchService::class);
|
||||
$this->app->scoped(ActivityLogTargetableService::class);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue