Documentation
¶
Index ¶
- Constants
- type Backend
- func (self *Backend) AllowLevel(level commonlog.Level, name ...string) 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(level commonlog.Level, depth int, name ...string) commonlog.Message
- func (self *Backend) SetMaxLevel(level commonlog.Level, name ...string)
Constants ¶
View Source
const ( LOG_FILE_WRITE_PERMISSIONS = 0600 DEFAULT_BUFFER_SIZE = 1_000 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
func NewBackend ¶
func NewBackend() *Backend
func (*Backend) AllowLevel ¶
(commonlog.Backend interface)
func (*Backend) Configure ¶
(commonlog.Backend interface)
func (*Backend) GetMaxLevel ¶
(commonlog.Backend interface)
func (*Backend) GetWriter ¶
(commonlog.Backend interface)
func (*Backend) NewMessage ¶
(commonlog.Backend interface)
func (*Backend) SetMaxLevel ¶
(commonlog.Backend interface)
Click to show internal directories.
Click to hide internal directories.