Documentation ¶
Index ¶
- Variables
- func Configure()
- func ConfigureWith(target log.CoreLogger, logAs log.Level)
- func NewWrapper(target log.CoreLogger, logAs log.Level) *stdlog.Logger
- type Logger
- type LoggerImpl
- func (instance *LoggerImpl) Fatal(args ...interface{})
- func (instance *LoggerImpl) Fatalf(s string, args ...interface{})
- func (instance *LoggerImpl) Fatalln(args ...interface{})
- func (instance *LoggerImpl) Panic(args ...interface{})
- func (instance *LoggerImpl) Panicf(s string, args ...interface{})
- func (instance *LoggerImpl) Panicln(args ...interface{})
- func (instance *LoggerImpl) Print(args ...interface{})
- func (instance *LoggerImpl) Printf(s string, args ...interface{})
- func (instance *LoggerImpl) Println(args ...interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultOnFatal = func(log.Event) { os.Exit(1) }
Functions ¶
func ConfigureWith ¶
func ConfigureWith(target log.CoreLogger, logAs log.Level)
func NewWrapper ¶
Types ¶
type Logger ¶
type Logger interface { Print(...interface{}) Printf(string, ...interface{}) Println(...interface{}) Fatal(...interface{}) Fatalf(string, ...interface{}) Fatalln(...interface{}) Panic(...interface{}) Panicf(string, ...interface{}) Panicln(...interface{}) }
func NewLogger ¶
func NewLogger(target log.CoreLogger) Logger
type LoggerImpl ¶
func (*LoggerImpl) Fatal ¶
func (instance *LoggerImpl) Fatal(args ...interface{})
func (*LoggerImpl) Fatalf ¶
func (instance *LoggerImpl) Fatalf(s string, args ...interface{})
func (*LoggerImpl) Fatalln ¶
func (instance *LoggerImpl) Fatalln(args ...interface{})
func (*LoggerImpl) Panic ¶
func (instance *LoggerImpl) Panic(args ...interface{})
func (*LoggerImpl) Panicf ¶
func (instance *LoggerImpl) Panicf(s string, args ...interface{})
func (*LoggerImpl) Panicln ¶
func (instance *LoggerImpl) Panicln(args ...interface{})
func (*LoggerImpl) Print ¶
func (instance *LoggerImpl) Print(args ...interface{})
func (*LoggerImpl) Printf ¶
func (instance *LoggerImpl) Printf(s string, args ...interface{})
func (*LoggerImpl) Println ¶
func (instance *LoggerImpl) Println(args ...interface{})
Click to show internal directories.
Click to hide internal directories.