Share via


IContainerGroup.GetLogContent Method

Definition

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