MCPcopy Create free account
hub / github.com/PasarGuard/node / GetLogFiles

Method GetLogFiles

backend/xray/config.go:806–814  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

804}
805
806func (c *Config) GetLogFiles() (accessFile, errorFile string) {
807 if c.LogConfig == nil {
808 c.LogConfig = &conf.LogConfig{
809 LogLevel: "info",
810 }
811 }
812
813 return c.LogConfig.AccessLog, c.LogConfig.ErrorLog
814}
815
816func NewConfig(config string, exclude []string) (*Config, error) {
817 var xrayConfig Config

Callers 1

StartMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected