 | INameServerClientProtocolGetLogFileContents Method |
Gets the contents of the diagnostic log file.
Namespace: Ookii.Jumbo.DfsAssembly: Ookii.Jumbo.Dfs (in Ookii.Jumbo.Dfs.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
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 LogFileKind
- The kind of log file to return.
- maxSize Int32
- The maximum number of bytes to return.
Return Value
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