Method | Description | |
---|---|---|
__construct ( |
Constructor. Instantiates AuditLogger, prepares backend | |
setAccountId ( integer $accountId ) : |
Sets identifier of the Account | |
setEnvironmentId ( integer $envId ) : |
Sets identifier of the Environment | |
setRequestType ( string $requestType ) : |
Sets request type | |
setRuid ( integer $ruid ) : |
Sets user identifier | |
setSystemTask ( string $systemTask ) : |
Sets system task | |
setUser ( Scalr_Account_User $user ) : |
Sets user object |
Method | Description | |
---|---|---|
getCommonData ( ) | ||
handleScriptExecute ( array $script, DBServer $targetServer, integer $taskId = null, AbstractServerEvent $event = null ) : array | script.execute handler | |
handlerFarmLaunch ( |
farm.launch | farm.terminate handler | |
handlerUserAuthLogin ( Scalr_Account_Use\Scalr_Account_User | |
user.auth.login handler | |
initializeSubscribers ( ) |
public __construct ( |
||
$config | Audit logger config data |
protected handleScriptExecute ( array $script, DBServer $targetServer, integer $taskId = null, AbstractServerEvent $event = null ) : array | ||
$script | array | Script settings |
$targetServer | DBServer | Target server object |
$taskId | integer | optional Scheduler task identifier |
$event | AbstractServerEvent | optional Event object |
return | array | Returns array of the fields to log |
protected handlerFarmLaunch ( |
||
$farm | Farm instance | |
$additional | array | Additional fields to log |
return | array | Returns array of the fields to log |
protected handlerUserAuthLogin ( Scalr_Account_Use\Scalr_Account_User | |
||
$user | Scalr_Account_Use\Scalr_Account_User | |
User object |
return | array | Returns array of the fields to log |
public setAccountId ( integer $accountId ) : |
||
$accountId | integer | Identifier of the User's Account |
return |
public setEnvironmentId ( integer $envId ) : |
||
$envId | integer | Identifier of the User's Environment |
return |
public setRequestType ( string $requestType ) : |
||
$requestType | string | Request type |
return |
public setSystemTask ( string $systemTask ) : |
||
$systemTask | string | System task |
return |
public setUser ( Scalr_Account_User $user ) : |
||
$user | Scalr_Account_User | User object |
return |