ServerLogWriter Class |
Namespace: SampSharp.Core
public class ServerLogWriter : TextWriter
The ServerLogWriter type exposes the following members.
Name | Description | |
---|---|---|
ServerLogWriter |
Initializes a new instance of the ServerLogWriter class.
|
Name | Description | |
---|---|---|
Encoding |
When overridden in a derived class, returns the character encoding in which the output is written.
(Overrides TextWriterEncoding.) | |
FormatProvider | Gets an object that controls formatting. (Inherited from TextWriter.) | |
NewLine | Gets or sets the line terminator string used by the current TextWriter. (Inherited from TextWriter.) |
Name | Description | |
---|---|---|
Close | Closes the current writer and releases any system resources associated with the writer. (Inherited from TextWriter.) | |
Dispose | Releases all resources used by the TextWriter object. (Inherited from TextWriter.) | |
Dispose(Boolean) | Releases the unmanaged resources used by the TextWriter and optionally releases the managed resources. (Inherited from TextWriter.) | |
DisposeAsync | Asynchronously releases all resources used by the TextWriter object. (Inherited from TextWriter.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Flush | Clears all buffers for the current writer and causes any buffered data to be written to the underlying device. (Inherited from TextWriter.) | |
FlushAsync | Asynchronously clears all buffers for the current writer and causes any buffered data to be written to the underlying device. (Inherited from TextWriter.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetLifetimeService | Obsolete. Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InitializeLifetimeService | Obsolete. Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Write(ReadOnlySpanChar) | Writes a character span to the text stream. (Inherited from TextWriter.) | |
Write(StringBuilder) | Writes a string builder to the text stream. (Inherited from TextWriter.) | |
Write(Boolean) |
Writes the text representation of a Boolean value to the text string or stream.
(Overrides TextWriterWrite(Boolean).) | |
Write(Char) |
Writes a character to the text string or stream.
(Overrides TextWriterWrite(Char).) | |
Write(Char) |
Writes a character array to the text string or stream.
(Overrides TextWriterWrite(Char).) | |
Write(Decimal) |
Writes the text representation of a decimal value to the text string or stream.
(Overrides TextWriterWrite(Decimal).) | |
Write(Double) |
Writes the text representation of an 8-byte floating-point value to the text string or stream.
(Overrides TextWriterWrite(Double).) | |
Write(Int32) |
Writes the text representation of a 4-byte signed integer to the text string or stream.
(Overrides TextWriterWrite(Int32).) | |
Write(Int64) |
Writes the text representation of an 8-byte signed integer to the text string or stream.
(Overrides TextWriterWrite(Int64).) | |
Write(Object) |
Writes the text representation of an object to the text string or stream by calling the ToString method on that
object.
(Overrides TextWriterWrite(Object).) | |
Write(Single) |
Writes the text representation of a 4-byte floating-point value to the text string or stream.
(Overrides TextWriterWrite(Single).) | |
Write(String) |
Writes a string to the text string or stream.
(Overrides TextWriterWrite(String).) | |
Write(UInt32) |
Writes the text representation of a 4-byte unsigned integer to the text string or stream.
(Overrides TextWriterWrite(UInt32).) | |
Write(UInt64) |
Writes the text representation of an 8-byte unsigned integer to the text string or stream.
(Overrides TextWriterWrite(UInt64).) | |
Write(String, Object) |
Writes a formatted string to the text string or stream, using the same semantics as the
Format(String, Object) method.
(Overrides TextWriterWrite(String, Object).) | |
Write(String, Object) |
Writes a formatted string to the text string or stream, using the same semantics as the
Format(String, Object) method.
(Overrides TextWriterWrite(String, Object).) | |
Write(Char, Int32, Int32) |
Writes a subarray of characters to the text string or stream.
(Overrides TextWriterWrite(Char, Int32, Int32).) | |
Write(String, Object, Object) |
Writes a formatted string to the text string or stream, using the same semantics as the
Format(String, Object, Object) method.
(Overrides TextWriterWrite(String, Object, Object).) | |
Write(String, Object, Object, Object) |
Writes a formatted string to the text string or stream, using the same semantics as the
Format(String, Object, Object, Object) method.
(Overrides TextWriterWrite(String, Object, Object, Object).) | |
WriteAsync(Char) | Writes a character array to the text stream asynchronously. (Inherited from TextWriter.) | |
WriteAsync(Char) |
Writes a character to the text string or stream asynchronously.
(Overrides TextWriterWriteAsync(Char).) | |
WriteAsync(String) |
Writes a string to the text string or stream asynchronously.
(Overrides TextWriterWriteAsync(String).) | |
WriteAsync(ReadOnlyMemoryChar, CancellationToken) | Asynchronously writes a character memory region to the text stream. (Inherited from TextWriter.) | |
WriteAsync(StringBuilder, CancellationToken) | Asynchronously writes a string builder to the text stream. (Inherited from TextWriter.) | |
WriteAsync(Char, Int32, Int32) |
Writes a subarray of characters to the text string or stream asynchronously.
(Overrides TextWriterWriteAsync(Char, Int32, Int32).) | |
WriteLine |
Writes a line terminator to the text string or stream.
(Overrides TextWriterWriteLine.) | |
WriteLine(ReadOnlySpanChar) | Writes the text representation of a character span to the text stream, followed by a line terminator. (Inherited from TextWriter.) | |
WriteLine(StringBuilder) | Writes the text representation of a string builder to the text stream, followed by a line terminator. (Inherited from TextWriter.) | |
WriteLine(Boolean) |
Writes the text representation of a Boolean value followed by a line terminator to the text string or stream.
(Overrides TextWriterWriteLine(Boolean).) | |
WriteLine(Char) |
Writes a character followed by a line terminator to the text string or stream.
(Overrides TextWriterWriteLine(Char).) | |
WriteLine(Char) |
Writes an array of characters followed by a line terminator to the text string or stream.
(Overrides TextWriterWriteLine(Char).) | |
WriteLine(Decimal) |
Writes the text representation of a decimal value followed by a line terminator to the text string or stream.
(Overrides TextWriterWriteLine(Decimal).) | |
WriteLine(Double) |
Writes the text representation of a 8-byte floating-point value followed by a line terminator to the text string or
stream.
(Overrides TextWriterWriteLine(Double).) | |
WriteLine(Int32) |
Writes the text representation of a 4-byte signed integer followed by a line terminator to the text string or
stream.
(Overrides TextWriterWriteLine(Int32).) | |
WriteLine(Int64) |
Writes the text representation of an 8-byte signed integer followed by a line terminator to the text string or
stream.
(Overrides TextWriterWriteLine(Int64).) | |
WriteLine(Object) |
Writes the text representation of an object by calling the ToString method on that object, followed by a line
terminator to the text string or stream.
(Overrides TextWriterWriteLine(Object).) | |
WriteLine(Single) |
Writes the text representation of a 4-byte floating-point value followed by a line terminator to the text string or
stream.
(Overrides TextWriterWriteLine(Single).) | |
WriteLine(String) |
Writes a string followed by a line terminator to the text string or stream.
(Overrides TextWriterWriteLine(String).) | |
WriteLine(UInt32) |
Writes the text representation of a 4-byte unsigned integer followed by a line terminator to the text string or
stream.
(Overrides TextWriterWriteLine(UInt32).) | |
WriteLine(UInt64) |
Writes the text representation of an 8-byte unsigned integer followed by a line terminator to the text string or
stream.
(Overrides TextWriterWriteLine(UInt64).) | |
WriteLine(String, Object) |
Writes a formatted string and a new line to the text string or stream, using the same semantics as the
Format(String, Object) method.
(Overrides TextWriterWriteLine(String, Object).) | |
WriteLine(String, Object) |
Writes out a formatted string and a new line, using the same semantics as
Format(String, Object).
(Overrides TextWriterWriteLine(String, Object).) | |
WriteLine(Char, Int32, Int32) |
Writes a subarray of characters followed by a line terminator to the text string or stream.
(Overrides TextWriterWriteLine(Char, Int32, Int32).) | |
WriteLine(String, Object, Object) |
Writes a formatted string and a new line to the text string or stream, using the same semantics as the
Format(String, Object, Object) method.
(Overrides TextWriterWriteLine(String, Object, Object).) | |
WriteLine(String, Object, Object, Object) |
Writes out a formatted string and a new line, using the same semantics as
Format(String, Object).
(Overrides TextWriterWriteLine(String, Object, Object, Object).) | |
WriteLineAsync |
Writes a line terminator asynchronously to the text string or stream.
(Overrides TextWriterWriteLineAsync.) | |
WriteLineAsync(Char) | Asynchronously writes an array of characters to the text stream, followed by a line terminator. (Inherited from TextWriter.) | |
WriteLineAsync(Char) |
Writes a character followed by a line terminator asynchronously to the text string or stream.
(Overrides TextWriterWriteLineAsync(Char).) | |
WriteLineAsync(String) |
Writes a string followed by a line terminator asynchronously to the text string or stream.
(Overrides TextWriterWriteLineAsync(String).) | |
WriteLineAsync(ReadOnlyMemoryChar, CancellationToken) | Asynchronously writes the text representation of a character memory region to the text stream, followed by a line terminator. (Inherited from TextWriter.) | |
WriteLineAsync(StringBuilder, CancellationToken) | Asynchronously writes the text representation of a string builder to the text stream, followed by a line terminator. (Inherited from TextWriter.) | |
WriteLineAsync(Char, Int32, Int32) |
Writes a subarray of characters followed by a line terminator asynchronously to the text string or stream.
(Overrides TextWriterWriteLineAsync(Char, Int32, Int32).) |
Name | Description | |
---|---|---|
CoreNewLine | Stores the newline characters used for this TextWriter. (Inherited from TextWriter.) |