ContainerGroup.getLogContentAsync 方法
定义
重载
getLogContentAsync(String containerName) |
Get the log content for the specified container instance within the container group.
|
getLogContentAsync(String containerName, int tailLineCount) |
Get the log content for the specified container instance within the container group.
|
getLogContentAsync(String containerName)
Get the log content for the specified container instance within the container group.
public Observable<String> getLogContentAsync(String containerName)
参数
- containerName
- String
the container instance name
返回
Observable<String>
a representation of the future computation of this call
例外
IllegalArgumentException
thrown if parameters fail the validation
getLogContentAsync(String containerName, int tailLineCount)
Get the log content for the specified container instance within the container group.
public Observable<String> getLogContentAsync(String containerName, int tailLineCount)
参数
- containerName
- String
the container instance name
- tailLineCount
- int
only get the last log lines up to this
返回
Observable<String>
a representation of the future computation of this call
例外
IllegalArgumentException
thrown if parameters fail the validation