Versions in this module Expand all Collapse all v1 v1.10.0 Aug 28, 2020 Changes in this version + var File_v2ray_com_core_app_log_config_proto protoreflect.FileDescriptor + var LogType_name = map[int32]string + var LogType_value = map[string]int32 + func RegisterHandlerCreator(logType LogType, f HandlerCreator) error + type Config struct + AccessLogPath string + AccessLogType LogType + ErrorLogLevel log.Severity + ErrorLogPath string + ErrorLogType LogType + func (*Config) Descriptor() ([]byte, []int) + func (*Config) ProtoMessage() + func (x *Config) GetAccessLogPath() string + func (x *Config) GetAccessLogType() LogType + func (x *Config) GetErrorLogLevel() log.Severity + func (x *Config) GetErrorLogPath() string + func (x *Config) GetErrorLogType() LogType + func (x *Config) ProtoReflect() protoreflect.Message + func (x *Config) Reset() + func (x *Config) String() string + type HandlerCreator func(LogType, HandlerCreatorOptions) (log.Handler, error) + type HandlerCreatorOptions struct + Path string + type Instance struct + func New(ctx context.Context, config *Config) (*Instance, error) + func (*Instance) Type() interface{} + func (g *Instance) Close() error + func (g *Instance) Handle(msg log.Message) + func (g *Instance) Start() error + type LogType int32 + const LogType_Console + const LogType_Event + const LogType_File + const LogType_None + func (LogType) Descriptor() protoreflect.EnumDescriptor + func (LogType) EnumDescriptor() ([]byte, []int) + func (LogType) Type() protoreflect.EnumType + func (x LogType) Enum() *LogType + func (x LogType) Number() protoreflect.EnumNumber + func (x LogType) String() string Incompatible versions in this module v3.50.2+incompatible Oct 29, 2018