Logs
extends CloudApiBase
in
implements
CloudApiInterface
Class Logs
Table of Contents
$client | ClientInterface | |
---|---|---|
getAll() | Returns a list of log files available for download. | LogsResponse |
download() | Downloads a log file. | StreamInterface |
snapshot() | Creates a log file snapshot. | OperationResponse |
stream() | Returns logstream WSS stream information. | LogstreamResponse |
__construct() | Client constructor. | mixed |
Properties
$client
protected
ClientInterface
$client
Methods
getAll()
Returns a list of log files available for download.
public
getAll(
$environmentUuid :
string
)
: LogsResponse
Parameters
- $environmentUuid : string
Return values
LogsResponsedownload()
Downloads a log file.
public
download(
$environmentUuid :
string
, $logType :
string
)
: StreamInterface
Parameters
- $environmentUuid : string
- $logType : string
Return values
StreamInterfacesnapshot()
Creates a log file snapshot.
public
snapshot(
$environmentUuid :
string
, $logType :
string
)
: OperationResponse
Parameters
- $environmentUuid : string
- $logType : string
Return values
OperationResponsestream()
Returns logstream WSS stream information.
public
stream(
$environmentUuid :
string
)
: LogstreamResponse
Parameters
- $environmentUuid : string
Return values
LogstreamResponse__construct()
Client constructor.
public
__construct(
$client :
ClientInterface
)
: mixed
Parameters
- $client : ClientInterface