 | INameServerClientProtocolGetLogFileContents Method |
Gets the contents of the diagnostic log file.
Namespace:
Ookii.Jumbo.Dfs
Assembly:
Ookii.Jumbo.Dfs (in Ookii.Jumbo.Dfs.dll) Version: 2.0.0
Syntaxstring GetLogFileContents(
LogFileKind kind,
int maxSize
)
Function GetLogFileContents (
kind As LogFileKind,
maxSize As Integer
) As String
String^ GetLogFileContents(
LogFileKind kind,
int maxSize
)
abstract GetLogFileContents :
kind : LogFileKind *
maxSize : int -> string
Parameters
- kind
- Type: Ookii.JumboLogFileKind
The kind of log file to return. - maxSize
- Type: SystemInt32
The maximum number of bytes to return.
Return Value
Type:
StringThe contents of the diagnostic log file.
Remarks
If the log file is larger than maxSize, the tail of the file up to the
specified size is returned.
See Also