| LogFileHelperGetLogFileStream Method |
Gets the specified log file stream. For Jumbo internal use only.
Namespace:
Ookii.Jumbo
Assembly:
Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 2.0.0
Syntax public 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
- Type: SystemString
Name of the server whose log file to return.. - kind
- Type: Ookii.JumboLogFileKind
The kind of log file. - maxSize
- Type: SystemInt32
The maximum size, or zero to return the entire log file..
Return Value
Type:
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