IContainerGroup.GetLogContent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetLogContent(String) |
Get the log content for the specified container instance within the container group. |
GetLogContent(String, Int32) |
Get the log content for the specified container instance within the container group. |
GetLogContent(String)
Get the log content for the specified container instance within the container group.
public string GetLogContent (string containerName);
abstract member GetLogContent : string -> string
Public Function GetLogContent (containerName As String) As String
Parameters
- containerName
- String
The container instance name.
Returns
Applies to
GetLogContent(String, Int32)
Get the log content for the specified container instance within the container group.
public string GetLogContent (string containerName, int tailLineCount);
abstract member GetLogContent : string * int -> string
Public Function GetLogContent (containerName As String, tailLineCount As Integer) As String
Parameters
- containerName
- String
The container instance name.
- tailLineCount
- Int32
Only get the last log lines up to this.
Returns
Applies to
Azure SDK for .NET