Click or drag to resize
LibraryLog Method
Basic logging function.

Namespace:  TeamSpeak.Sdk.Client
Assembly:  TeamSpeak.Sdk (in TeamSpeak.Sdk.dll) Version: 0.1.6124.20226 (0.1.0.0)
Syntax
public static void Log(
	LogLevel severity,
	string message,
	Connection connection,
	string channel
)

Parameters

severity
Type: TeamSpeak.SdkLogLevel
The level of the message.
message
Type: SystemString
Text written to log.
connection
Type: TeamSpeak.Sdk.ClientConnection
Identify the current server connection when using multiple connections. Pass null if unused.
channel
Type: SystemString
Custom text to categorize the message channel (i.e. "Client", "Sound").
Remarks
Log messages can be printed to stdout, logged to a file logs/ts3client_[date]__[time].log and sent to user-defined callbacks. The log output behavior is defined when initializing the client library using LibraryParameters. Unless user-defined logging is used, program execution will halt on a log message with severity Critical
See Also