Property | Type | Description | |
---|---|---|---|
$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 |
Method | Description | |
---|---|---|
__construct ( DBServer | integer $param1, string $message, variadic |
Constructor. Instantiates FarmLogMessage |
Method | Description | |
---|---|---|
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 |
return | void |
protected constructByDBServer ( DBServer $dbServer, string $message ) : void | ||
$dbServer | DBServer | DBServer object for retrieving log data |
$message | string | Message for writing in log |
return | 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 |
return | void |