Documentation ¶
Index ¶
Constants ¶
View Source
const CIRCULARLOG_INIT_SIZE int = 32 << 10
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CircularLog ¶
type CircularLog struct {
// contains filtered or unexported fields
}
func MustNewCircularLog ¶ added in v0.3.0
func MustNewCircularLog(max int) *CircularLog
func NewCircularLog ¶
func NewCircularLog(max int) (*CircularLog, error)
func (*CircularLog) Bytes ¶
func (cl *CircularLog) Bytes() []byte
func (*CircularLog) Len ¶
func (cl *CircularLog) Len() int
func (*CircularLog) Reset ¶
func (cl *CircularLog) Reset()
func (*CircularLog) Size ¶
func (cl *CircularLog) Size() int
func (*CircularLog) String ¶
func (cl *CircularLog) String() string
func (*CircularLog) TotalWritten ¶
func (cl *CircularLog) TotalWritten() int
Click to show internal directories.
Click to hide internal directories.