 | LogFileHelperGetLogFileStream Method |
Gets the specified log file stream. For Jumbo internal use only.
Namespace: Ookii.JumboAssembly: Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntaxpublic static Stream? GetLogFileStream(
string serverName,
LogFileKind kind,
int maxSize
)
Public Shared Function GetLogFileStream (
serverName As String,
kind As LogFileKind,
maxSize As Integer
) As Stream
public:
static Stream^ GetLogFileStream(
String^ serverName,
LogFileKind kind,
int maxSize
)
static member GetLogFileStream :
serverName : string *
kind : LogFileKind *
maxSize : int -> Stream
Parameters
- serverName String
- Name of the server whose log file to return..
- kind LogFileKind
- The kind of log file.
- maxSize Int32
- The maximum size, or zero to return the entire log file..
Return Value
StreamA
Stream for the log file whose position is set so that no more than
maxSize bytes will be read if you read until the end,
or
if the log file doesn't exist.
See Also