| DfsClientGetDataServerLogFileContents Method (String, Int32, LogFileKind, Int32) |
Gets the contents of the diagnostic log file of a data server.
Namespace:
Ookii.Jumbo.Dfs.FileSystem
Assembly:
Ookii.Jumbo.Dfs (in Ookii.Jumbo.Dfs.dll) Version: 2.0.0
Syntax public static string GetDataServerLogFileContents(
string hostName,
int port,
LogFileKind kind,
int maxSize
)
Public Shared Function GetDataServerLogFileContents (
hostName As String,
port As Integer,
kind As LogFileKind,
maxSize As Integer
) As String
public:
static String^ GetDataServerLogFileContents(
String^ hostName,
int port,
LogFileKind kind,
int maxSize
)
static member GetDataServerLogFileContents :
hostName : string *
port : int *
kind : LogFileKind *
maxSize : int -> string
Parameters
- hostName
- Type: SystemString
The host name of the data server. - port
- Type: SystemInt32
The port on which the data server is listening. - kind
- Type: Ookii.JumboLogFileKind
The kind of log file. - maxSize
- Type: SystemInt32
The maximum size of the log data to return.
Return Value
Type:
StringThe contents of the log file.
See Also