Table of Contents

Class TwikitWarnings

Namespace
Twikit
Assembly
Twikit.dll

ライブラリが発する警告(Python 版の warnings.warn)。既定では Trace に書き出します。Handler を差し替えて受け取れます。

public static class TwikitWarnings
Inheritance
TwikitWarnings
Inherited Members

Properties

Handler

警告を受け取るハンドラー。null にすると既定(Trace)に戻ります。

public static Action<string>? Handler { get; set; }

Property Value

Action<string>

Methods

Warn(string)

public static void Warn(string message)

Parameters

message string