Documentation ¶
Index ¶
Constants ¶
View Source
const MaxBufferd = 1024 * 500
MaxBufferd buffer最大值
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileWriterByPeriod ¶
type FileWriterByPeriod struct {
// contains filtered or unexported fields
}
FileWriterByPeriod 文件周期写入
func NewFileWriteByPeriod ¶
func NewFileWriteByPeriod() *FileWriterByPeriod
NewFileWriteByPeriod 获取新的FileWriterByPeriod
type LogPeriodType ¶
type LogPeriodType int
LogPeriodType 日志周期类型
const ( //PeriodMonth 月 PeriodMonth LogPeriodType = iota //PeriodDay 日 PeriodDay //PeriodHour 时 PeriodHour )
func (LogPeriodType) FormatLayout ¶
func (period LogPeriodType) FormatLayout() string
FormatLayout 格式化
func (LogPeriodType) String ¶
func (period LogPeriodType) String() string
type Transporter ¶
type Transporter struct { *eosc_log.Transporter // contains filtered or unexported fields }
Transporter filelog-Transporter结构
func CreateTransporter ¶
func CreateTransporter(level eosc_log.Level) *Transporter
CreateTransporter 创建filelog-Transporter
Click to show internal directories.
Click to hide internal directories.