Click or drag to resize

GameModeBuilderUseLogWriter Method

Uses the specified text writer to log SampSharp log messages to.

Namespace:  SampSharp.Core
Assembly:  SampSharp.Core (in SampSharp.Core.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public GameModeBuilder UseLogWriter(
	TextWriter textWriter
)

Parameters

textWriter
Type: System.IOTextWriter
The text writer to log SampSharp log messages to.

Return Value

Type: GameModeBuilder
The updated game mode configuration builder.
Remarks
If a null value is specified as text writer, no log messages will appear.
See Also