Свойство | Тип | Описание | |
---|---|---|---|
$FarmID | integer | Identifier of the farm | |
$Message | string | Log message | |
$ServerID | string | Identifier of the server | |
$envId | string | Identifier of the environment | |
$farmRoleId | string | Identifier of the farm role |
Метод | Описание | |
---|---|---|
__construct ( DBServer | integer $param1, string $message, variadic |
Constructor. Instantiates FarmLogMessage |
Метод | Описание | |
---|---|---|
constructByDBServer ( DBServer $dbServer, string $message ) : void | Constructor by separate params | |
constructBySeparateParams ( integer $farmId, string $message, integer $serverid = null, integer $envId = null, integer $farmRoleId = null ) : void | Constructor. Instantiates FarmLogMessage |
public __construct ( DBServer | integer $param1, string $message, variadic |
||
$param1 | DBServer | integer | DBServer object or farm id |
$message | string | Message for writing in log |
$extra | variadic |
optional Extra data for passing in FarmLogMessage::constructBySeparateParams(). Used with farm id in first param |
Результат | void |
protected constructByDBServer ( DBServer $dbServer, string $message ) : void | ||
$dbServer | DBServer | DBServer object for retrieving log data |
$message | string | Message for writing in log |
Результат | void |
protected constructBySeparateParams ( integer $farmId, string $message, integer $serverid = null, integer $envId = null, integer $farmRoleId = null ) : void | ||
$farmId | integer | Identifier of the farm |
$message | string | Message for writing in log |
$serverid | integer | optional Identifier of the server |
$envId | integer | optional Identifier of the environment |
$farmRoleId | integer | optional Identifier of the farm role |
Результат | void |
public string $farmRoleId | ||
Результат | string |