Versions in this module Expand all Collapse all v0 v0.0.2 May 10, 2020 v0.0.1 May 10, 2020 Changes in this version + type Log struct + func (_obj *Log) Dispatch(ctx context.Context, _val interface{}, req *requestf.RequestPacket, ...) (err error) + func (_obj *Log) Logger(App string, Server string, File string, Format string, Buffer []string, ...) (err error) + func (_obj *Log) LoggerWithContext(ctx context.Context, App string, Server string, File string, Format string, ...) (err error) + func (_obj *Log) LoggerbyInfo(Info *LogInfo, Buffer []string, _opt ...map[string]string) (err error) + func (_obj *Log) LoggerbyInfoWithContext(ctx context.Context, Info *LogInfo, Buffer []string, _opt ...map[string]string) (err error) + func (_obj *Log) SetServant(s m.Servant) + func (_obj *Log) TarsSetTimeout(t int) + type LogInfo struct + Appname string + BHasAppNamePrefix bool + BHasSquareBracket bool + BHasSufix bool + SConcatStr string + SFilename string + SFormat string + SLogType string + SSepar string + Servername string + Setdivision string + func (st *LogInfo) ReadBlock(_is *codec.Reader, tag byte, require bool) error + func (st *LogInfo) ReadFrom(_is *codec.Reader) error + func (st *LogInfo) WriteBlock(_os *codec.Buffer, tag byte) error + func (st *LogInfo) WriteTo(_os *codec.Buffer) error