Class Config
全局设置
Inheritance
System.Object
Config
Namespace: cqhttp.Cyan
Assembly: cqhttp.Cyan.dll
Syntax
public class Config : object
Fields
| Improve this Doc View Sourceis_send_json
消息默认发送格式
Declaration
public static bool is_send_json
Field Value
Type | Description |
---|---|
System.Boolean |
network_max_failure
网络错误时最多重试的次数
Declaration
public const int network_max_failure = null
Field Value
Type | Description |
---|---|
System.Int32 |
timeout
网络请求超时秒数
Declaration
public static int timeout
Field Value
Type | Description |
---|---|
System.Int32 |
Properties
| Improve this Doc View Sourceinternal_logger_output
默认日志输出位置
Declaration
public static LogType internal_logger_output { get; set; }
Property Value
Type | Description |
---|---|
LogType |
internal_logger_verbosity
默认日志等级
Declaration
public static Verbosity internal_logger_verbosity { get; set; }
Property Value
Type | Description |
---|---|
Verbosity |