Documentation
¶
Index ¶
- Constants
- type Backend
- func (self *Backend) AllowLevel(name []string, level commonlog.Level) bool
- func (self *Backend) Configure(verbosity int, path *string)
- func (self *Backend) GetMaxLevel(name []string) commonlog.Level
- func (self *Backend) GetWriter() io.Writer
- func (self *Backend) NewMessage(name []string, level commonlog.Level, depth int) commonlog.Message
- func (self *Backend) SetMaxLevel(name []string, level commonlog.Level)
Constants ¶
View Source
const BUFFER_SIZE = 10000
View Source
const LOG_FILE_WRITE_PERMISSIONS = 0600
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct { Buffered bool // contains filtered or unexported fields }
func NewBackend ¶
func NewBackend() *Backend
func (*Backend) AllowLevel ¶
commonlog.Backend interface
func (*Backend) GetMaxLevel ¶
commonlog.Backend interface
func (*Backend) NewMessage ¶
commonlog.Backend interface
Click to show internal directories.
Click to hide internal directories.