protobuf for log config

This commit is contained in:
Darien Raymond committed 2016-10-03 22:07:28 +02:00
1 parent bd9b7c586e
commit 5f920a9e94
8 files changed
+237 -71

No files matched your search

+1 -7
View File
@@ -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