Versions in this module Expand all Collapse all v0 v0.0.2 Jun 19, 2021 Changes in this version + 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 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Config) Descriptor() ([]byte, []int) + func (*Config) ProtoMessage() + func (m *Config) GetAccessLogPath() string + func (m *Config) GetAccessLogType() LogType + func (m *Config) GetErrorLogLevel() log.Severity + func (m *Config) GetErrorLogPath() string + func (m *Config) GetErrorLogType() LogType + func (m *Config) Reset() + func (m *Config) String() string + func (m *Config) XXX_DiscardUnknown() + func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Config) XXX_Merge(src proto.Message) + func (m *Config) XXX_Size() int + func (m *Config) XXX_Unmarshal(b []byte) error + 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) EnumDescriptor() ([]byte, []int) + func (x LogType) String() string