Documentation
¶
Index ¶
- Constants
- func NewMessage(event *zerolog.Event) commonlog.Message
- 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)
- type Message
Constants ¶
View Source
const LOG_FILE_WRITE_PERMISSIONS = 0600
View Source
const TIME_FORMAT = "2006/01/02 15:04:05.000"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Backend ¶
type Backend struct {
// 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.