mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-30 23:37:44 +00:00
protobuf for log config
This commit is contained in:
8 files changed
+237
-71
No files matched your search
@@ -28,12 +28,6 @@ type OutboundConnectionConfig struct {
|
||||
Settings []byte
|
||||
}
|
||||
|
||||
type LogConfig struct {
|
||||
AccessLog string
|
||||
ErrorLog string
|
||||
LogLevel log.LogLevel
|
||||
}
|
||||
|
||||
const (
|
||||
AllocationStrategyAlways = "always"
|
||||
AllocationStrategyRandom = "random"
|
||||
@@ -67,7 +61,7 @@ type OutboundDetourConfig struct {
|
||||
|
||||
type Config struct {
|
||||
Port v2net.Port
|
||||
LogConfig *LogConfig
|
||||
LogConfig *log.Config
|
||||
RouterConfig *router.Config
|
||||
DNSConfig *dns.Config
|
||||
InboundConfig *InboundConnectionConfig
|
||||
|
||||
Reference in new issue
Block a user