Documentation ¶
Overview ¶
diagnostics + logging
Index ¶
- func Bug(format string, args ...interface{})
- func Fatal(format string, args ...interface{})
- func Init(prog string)
- func Problem(format string, args ...interface{})
- func SetConfig(cf *Config)
- func SetDebugAll(x bool)
- func SetStderr(x bool)
- func Verbose(format string, args ...interface{})
- type Config
- type Diag
- func (d *Diag) Bug(format string, args ...interface{})
- func (d *Diag) Debug(format string, args ...interface{})
- func (d *Diag) Fatal(format string, args ...interface{})
- func (d *Diag) Logger(sect string) *Diag
- func (d *Diag) Problem(format string, args ...interface{})
- func (d *Diag) Verbose(format string, args ...interface{})
- func (d *Diag) WithMailFrom(e string) *Diag
- func (d *Diag) WithMailTo(e string) *Diag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetDebugAll ¶
func SetDebugAll(x bool)
Types ¶
type Diag ¶
type Diag struct {
// contains filtered or unexported fields
}
func (*Diag) WithMailFrom ¶
func (*Diag) WithMailTo ¶
Click to show internal directories.
Click to hide internal directories.