Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RPCAppender ¶
type RPCAppender struct { Level int // contains filtered or unexported fields }
RPCAppender 文件输出器
func NewRPCAppender ¶
func NewRPCAppender(writer io.WriteCloser, layout *logger.Appender) (fa *RPCAppender, err error)
NewRPCAppender 构建writer日志输出对象
func (*RPCAppender) Reset ¶
func (f *RPCAppender) Reset(intervalStr string, writer io.WriteCloser) error
Reset 重置保存周期
type RPCLogger ¶
type RPCLogger struct {
// contains filtered or unexported fields
}
func NewRPCLogger ¶
func NewRPCLogger(spath string, registryAddr string, log *logger.Logger, platName string, systemName string, clusterName string, serverTypes []string) (r *RPCLogger, err error)
NewRPCLogger 创建RPC日志程序
Click to show internal directories.
Click to hide internal directories.