Documentation
¶
Index ¶
- Constants
- func DefaultFormat(message string, id []string, level logging.Level, colorize bool) string
- type Backend
- func (self *Backend) AllowLevel(name []string, level logging.Level) bool
- func (self *Backend) Configure(verbosity int, path *string)
- func (self *Backend) GetWriter() io.Writer
- func (self *Backend) NewMessage(name []string, level logging.Level, depth int) logging.Message
- func (self *Backend) SetMaxLevel(name []string, level logging.Level)
- type FormatFunc
Constants ¶
View Source
const BUFFER_SIZE = 10000
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 { Writer io.Writer Format FormatFunc Buffered bool // contains filtered or unexported fields }
func NewBackend ¶
func NewBackend() *Backend
func (*Backend) AllowLevel ¶ added in v0.1.53
func (*Backend) NewMessage ¶ added in v0.1.53
Click to show internal directories.
Click to hide internal directories.