Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultMaxSize = 100 * MB DefaultBackup = 10 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdapterConsole ¶
type AdapterConsole struct{}
func (*AdapterConsole) Close ¶
func (ac *AdapterConsole) Close()
func (*AdapterConsole) Write ¶
func (ac *AdapterConsole) Write(b []byte) error
type AdapterFile ¶
type AdapterFile struct {
// contains filtered or unexported fields
}
func NewAdapterFile ¶
func NewAdapterFile(logName string, opt *Options) (*AdapterFile, error)
func (*AdapterFile) Close ¶
func (af *AdapterFile) Close()
func (*AdapterFile) Write ¶
func (af *AdapterFile) Write(b []byte) error
type AdapterNet ¶
type AdapterNet struct{}
func (*AdapterNet) Close ¶
func (an *AdapterNet) Close()
func (*AdapterNet) Write ¶
func (an *AdapterNet) Write(b []byte) error
Click to show internal directories.
Click to hide internal directories.