Documentation ¶
Index ¶
- Variables
- type Config
- func (*Config) Descriptor() ([]byte, []int)
- func (m *Config) GetAccessLogPath() string
- func (m *Config) GetAccessLogType() LogType
- func (m *Config) GetErrorLogLevel() v2ray_core_common_log.Severity
- func (m *Config) GetErrorLogPath() string
- func (m *Config) GetErrorLogType() LogType
- func (*Config) ProtoMessage()
- func (m *Config) Reset()
- func (m *Config) String() string
- type Instance
- type LogType
Constants ¶
This section is empty.
Variables ¶
View Source
var LogType_name = map[int32]string{
0: "None",
1: "Console",
2: "File",
3: "Event",
}
View Source
var LogType_value = map[string]int32{
"None": 0,
"Console": 1,
"File": 2,
"Event": 3,
}
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ErrorLogType LogType `protobuf:"varint,1,opt,name=error_log_type,json=errorLogType,enum=v2ray.core.app.log.LogType" json:"error_log_type,omitempty"` ErrorLogLevel v2ray_core_common_log.Severity `` /* 132-byte string literal not displayed */ ErrorLogPath string `protobuf:"bytes,3,opt,name=error_log_path,json=errorLogPath" json:"error_log_path,omitempty"` AccessLogType LogType `` /* 128-byte string literal not displayed */ AccessLogPath string `protobuf:"bytes,5,opt,name=access_log_path,json=accessLogPath" json:"access_log_path,omitempty"` }
func (*Config) Descriptor ¶
func (*Config) GetAccessLogPath ¶
func (*Config) GetAccessLogType ¶
func (*Config) GetErrorLogLevel ¶
func (m *Config) GetErrorLogLevel() v2ray_core_common_log.Severity
func (*Config) GetErrorLogPath ¶
func (*Config) GetErrorLogType ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.