WTelegramClientHelperConfigureLogging Method

Configures WTelegramClient API logging based on the specified parameters.

Definition

Namespace: DevCase.ThirdParty.WTelegramClient
Assembly: DevCase.net48.ThirdParty.WTelegramClient (in DevCase.net48.ThirdParty.WTelegramClient.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void ConfigureLogging(
	bool enableDefaultLogger,
	bool enableFileLogger,
	FileInfo logFile = null,
	bool append = false
)

Parameters

enableDefaultLogger  Boolean
If True, enables the default (console) logging.
enableFileLogger  Boolean
If True, enables file logging.
logFile  FileInfo  (Optional)
Optional. The log file to use for file logging.

If this value is null and enableFileLogger is True, the log file name will be "WTelegramClient.log" and it will be created in the current working directory.

append  Boolean  (Optional)
Optional. Indicates whether to append logs to an existing file.

Default value: False

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also