Documentation
¶
Index ¶
- func NewMessage(priority journal.Priority, prefix string, varsInMessage bool) commonlog.Message
- 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)
- type JournalWriter
- type Message
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Backend ¶
type Backend struct { VarsInMessage bool // contains filtered or unexported fields }
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)
type JournalWriter ¶
type JournalWriter struct{}
Click to show internal directories.
Click to hide internal directories.